ansible-edda/plays/services/system.yml

29 lines
1.0 KiB
YAML

- name: "services : system : asgard"
hosts: "asgard"
tasks:
- name: "system_datasets"
ansible.builtin.include_role:
name: "system_datasets"
apply:
tags: "services:system_datasets"
when:
"'zfs' in group_names"
tags: "always"
- ansible.builtin.import_role:
name: "system_setup"
tags: "services:system_setup"
- name: "set service bridge addresses"
ansible.builtin.set_fact:
services_bridge_gateway: "{{ vpn_bridge_prefix }}.1"
services_addresses:
rproxy: "{{ hostvars.valkyrie.vpn_bridge_prefix }}.2"
www: "{{ hostvars.valkyrie.vpn_bridge_prefix }}.3"
lrproxy: "{{ hostvars.yggdrasil.vpn_bridge_prefix }}.2"
database: "{{ hostvars.yggdrasil.vpn_bridge_prefix }}.3"
cloud: "{{ hostvars.yggdrasil.vpn_bridge_prefix }}.4"
git: "{{ hostvars.yggdrasil.vpn_bridge_prefix }}.5"
notes: "{{ hostvars.yggdrasil.vpn_bridge_prefix }}.6"
tags: "always"