ansible-edda/playbooks/services.yml

19 lines
532 B
YAML

---
- name: "Deploy services"
# Before applying this to yggdrasil need handle zfs datasets
hosts: the_nine_worlds
vars:
- service_rproxy_hosts:
tasks:
- import_tasks: tasks/services/00-podman.yml
- import_tasks: tasks/services/01-hosts.yml
- import_tasks: tasks/services/02-zfs-datasets.yml
when: is_zfs
- import_tasks: tasks/services/02-directories.yml
- include_tasks: tasks/services/03-service.yml
with_items: "{{ host_services }}"
loop_control:
loop_var: service_name