add create directory for nginx data/docker volumes

This commit is contained in:
Brandon Shipley 2022-05-29 21:09:48 -07:00
parent 33bccb3603
commit a207314959
1 changed files with 9 additions and 1 deletions

View File

@ -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: