infrastructure/coreos-config/roles/compose_project/tasks/main.yml

19 lines
347 B
YAML
Raw Normal View History

2022-10-29 05:04:47 +02:00
---
- 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"
2022-10-29 05:04:47 +02:00
- include_tasks: remove.yml
when: state == "absent"
2022-10-29 05:04:47 +02:00
...