Skip to content

Commit 7372006

Browse files
committed
vagrant: create /data/uploads directory.
Addressed to #399 [ci skip]
1 parent b84625f commit 7372006

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
# possible values: test and prod
3+
profile: test

vagrant/provisioning/roles/mystamps-app/tasks/main.yml

+9
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@
2626
mode: '0755'
2727
state: directory
2828

29+
- name: Creating /data/uploads
30+
file:
31+
path: /data/uploads
32+
owner: mystamps
33+
group: mystamps
34+
mode: '0755'
35+
state: directory
36+
when: profile == 'prod'
37+
2938
- name: Running service
3039
service:
3140
name: mystamps

0 commit comments

Comments
 (0)