copy docker compose to server
This commit is contained in:
parent
df5d6d7d04
commit
f783276759
|
@ -13,7 +13,7 @@
|
||||||
- '443'
|
- '443'
|
||||||
- '22'
|
- '22'
|
||||||
|
|
||||||
- name: Creates directory structure for assetto content
|
- name: Creates directory structure for rocketchat content
|
||||||
file:
|
file:
|
||||||
path: /home/{{ main_user }}/rocketchat/data
|
path: /home/{{ main_user }}/rocketchat/data
|
||||||
state: directory
|
state: directory
|
||||||
|
@ -21,6 +21,12 @@
|
||||||
group: "{{ main_user }}"
|
group: "{{ main_user }}"
|
||||||
mode: 0775
|
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
|
- name: bring down rocketchat docker-compose
|
||||||
become_user: "{{ main_user }}"
|
become_user: "{{ main_user }}"
|
||||||
docker_compose:
|
docker_compose:
|
||||||
|
|
Loading…
Reference in New Issue