add create directory for nginx data/docker volumes
This commit is contained in:
parent
33bccb3603
commit
a207314959
|
@ -13,7 +13,7 @@
|
|||
- '443'
|
||||
- '22'
|
||||
|
||||
- name: Creates directory structure for rocketchat content
|
||||
- name: Creates directory structure for rocketchat data
|
||||
file:
|
||||
path: /home/{{ main_user }}/rocketchat/data
|
||||
state: directory
|
||||
|
@ -21,6 +21,14 @@
|
|||
group: "{{ main_user }}"
|
||||
mode: 0775
|
||||
|
||||
- name: Creates directory structure for nginx data
|
||||
file:
|
||||
path: /home/{{ main_user }}/rocketchat/nginx
|
||||
state: directory
|
||||
owner: "{{ main_user }}"
|
||||
group: "{{ main_user }}"
|
||||
mode: 0775
|
||||
|
||||
- name: copy docker compose to server
|
||||
become_user: "{{ main_user }}"
|
||||
copy:
|
||||
|
|
Loading…
Reference in New Issue