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