12 lines
359 B
YAML
12 lines
359 B
YAML
|
# vim: ft=yaml.ansible
|
||
|
---
|
||
|
- name: Deploy services
|
||
|
ansible.builtin.include_tasks: services/{{ item.key }}.yml
|
||
|
loop: "{{ services | dict2items }}"
|
||
|
when: single_service is not defined
|
||
|
|
||
|
- name: Deploy single service
|
||
|
ansible.builtin.include_tasks: services/{{ single_service }}.yml
|
||
|
when: single_service is defined and
|
||
|
single_service in services
|