2022-09-26 23:10:48 +02:00
|
|
|
---
|
|
|
|
- name: "Deploy services"
|
|
|
|
# Before applying this to yggdrasil need handle zfs datasets
|
2022-10-02 14:56:43 +02:00
|
|
|
hosts: the_nine_worlds
|
2022-09-26 23:10:48 +02:00
|
|
|
|
|
|
|
vars:
|
|
|
|
- service_rproxy_hosts:
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
- import_tasks: tasks/services/00-podman.yml
|
|
|
|
- import_tasks: tasks/services/01-hosts.yml
|
2022-10-02 14:56:43 +02:00
|
|
|
- import_tasks: tasks/services/02-zfs-datasets.yml
|
|
|
|
when: is_zfs
|
2022-09-26 23:10:48 +02:00
|
|
|
- import_tasks: tasks/services/02-directories.yml
|
|
|
|
- include_tasks: tasks/services/03-service.yml
|
|
|
|
with_items: "{{ host_services }}"
|
|
|
|
loop_control:
|
|
|
|
loop_var: service_name
|