22 lines
470 B
YAML
22 lines
470 B
YAML
|
---
|
||
|
- name: Create Service Directory
|
||
|
file:
|
||
|
state: directory
|
||
|
path: "{{ compose_dir | mandatory }}"
|
||
|
|
||
|
- name: Copy Compose files
|
||
|
become: false
|
||
|
ansible.posix.synchronize:
|
||
|
src: "{{ service_base }}/{{ service | mandatory }}/"
|
||
|
dest: "{{ service_dir | mandatory }}"
|
||
|
archive: false
|
||
|
checksum: true
|
||
|
delete: true
|
||
|
recursive: true
|
||
|
mode: push
|
||
|
owner: false
|
||
|
group: false
|
||
|
perms: false
|
||
|
use_ssh_args: true
|
||
|
register: compose_files
|