diff --git a/tasks/rocketchat.yml b/tasks/rocketchat.yml index bd002bb..387c80a 100644 --- a/tasks/rocketchat.yml +++ b/tasks/rocketchat.yml @@ -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: