Fix install order for ns hosts

This commit is contained in:
Timo Makinen 2025-07-16 17:50:19 +00:00
parent 8d016ea2b3
commit 02ea915d36

View file

@ -19,7 +19,14 @@
- role: nginx_site
nginx_site_name: "{{ nsd_server }}"
nginx_site_redirect: https://www.foo.sh/
- role: ifstated
when: "'vultr' not in group_names"
- role: blackbox_exporter
when: "inventory_hostname == 'atl01.vultr.foo.sh'"
tasks:
- name: Run handlers to get interfaces configured
ansible.builtin.meta: flush_handlers
- name: Import ifstated role
ansible.builtin.import_role:
name: ifstated
when: "'vultr' not in group_names"