diff --git a/playbooks/ns.yml b/playbooks/ns.yml index 4642197..0f2e315 100644 --- a/playbooks/ns.yml +++ b/playbooks/ns.yml @@ -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"