Tobias Manske
4dca002664
All checks were successful
continuous-integration/drone/push Build is passing
19 lines
347 B
YAML
19 lines
347 B
YAML
---
|
|
|
|
- name: Set service_dir
|
|
ansible.builtin.set_fact:
|
|
service_dir: "{{ compose_dir | mandatory }}/{{ service | mandatory }}"
|
|
cacheable: true
|
|
|
|
- ansible.builtin.debug:
|
|
msg: "Working on {{ service }}"
|
|
verbosity: 0
|
|
|
|
- include_tasks: create.yml
|
|
when: state == "present"
|
|
|
|
- include_tasks: remove.yml
|
|
when: state == "absent"
|
|
|
|
...
|