hosts file: prioritise more specific host_group over more generic ansible_domain to ensure task specific hosts get right config
This commit is contained in:
parent
6abbb3b5d0
commit
944a9223f5
1 changed files with 1 additions and 1 deletions
|
@ -16,9 +16,9 @@
|
||||||
- "{{ inventory_hostname }}-hosts"
|
- "{{ inventory_hostname }}-hosts"
|
||||||
- "{{ ansible_fqdn }}-hosts"
|
- "{{ ansible_fqdn }}-hosts"
|
||||||
- "{{ ansible_hostname }}-hosts"
|
- "{{ ansible_hostname }}-hosts"
|
||||||
|
- "{{ host_group }}-hosts"
|
||||||
- "{{ ansible_domain }}-hosts"
|
- "{{ ansible_domain }}-hosts"
|
||||||
- "{{ datacenter }}-hosts"
|
- "{{ datacenter }}-hosts"
|
||||||
- "{{ host_group }}-hosts"
|
|
||||||
skip: true
|
skip: true
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue