Fix install order for ns hosts
This commit is contained in:
parent
8d016ea2b3
commit
02ea915d36
1 changed files with 9 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue