copy docker compose to server

This commit is contained in:
Brandon Shipley 2022-05-29 20:38:56 -07:00
parent df5d6d7d04
commit f783276759
1 changed files with 7 additions and 1 deletions

View File

@ -13,7 +13,7 @@
- '443'
- '22'
- name: Creates directory structure for assetto content
- name: Creates directory structure for rocketchat content
file:
path: /home/{{ main_user }}/rocketchat/data
state: directory
@ -21,6 +21,12 @@
group: "{{ main_user }}"
mode: 0775
- name: copy docker compose to server
become_user: "{{ main_user }}"
copy:
src: rocketchat/docker_compose.yml
dest: /home/{{ main_user }}/rocketchat/
- name: bring down rocketchat docker-compose
become_user: "{{ main_user }}"
docker_compose: