If a host has no specific hosts file in ansible, make it an empty one
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
24c15796b9
commit
4ac18d2200
2 changed files with 3 additions and 0 deletions
2
roles/hosts/files/base
Normal file
2
roles/hosts/files/base
Normal file
|
@ -0,0 +1,2 @@
|
|||
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
|
||||
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
|
|
@ -18,6 +18,7 @@
|
|||
- "{{ host_group }}-hosts"
|
||||
- "{{ ansible_domain }}-hosts"
|
||||
- "{{ datacenter }}-hosts"
|
||||
- "base"
|
||||
skip: true
|
||||
tags:
|
||||
- config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue