hosts: Move vmhost1.p.b to hosts.offline
Because *vmhost1.pyrocufflink.blue* is usually sleeping, continuous enforcement jobs always fail. By keeping it in a separate inventory file, configuration policy can still be applied to it manually, but it will be ignored by continuous enforcement.
This commit is contained in:
2
hosts
2
hosts
@@ -53,7 +53,6 @@ jenkins0.pyrocufflink.blue
|
||||
rprx0.pyrocufflink.blue
|
||||
smtp0.pyrocufflink.blue
|
||||
vmhost0.pyrocufflink.blue
|
||||
vmhost1.pyrocufflink.blue
|
||||
web0.pyrocufflink.blue
|
||||
zbx0.pyrocufflink.blue
|
||||
|
||||
@@ -85,4 +84,3 @@ pyrocufflink
|
||||
|
||||
[vm-hosts]
|
||||
vmhost0.pyrocufflink.blue
|
||||
vmhost1.pyrocufflink.blue
|
||||
|
||||
14
hosts.offline
Normal file
14
hosts.offline
Normal file
@@ -0,0 +1,14 @@
|
||||
[all:vars]
|
||||
ansible_python_interpreter=/usr/bin/python3
|
||||
|
||||
[dhcpcd:children]
|
||||
vm-hosts
|
||||
|
||||
[pyrocufflink]
|
||||
vmhost1.pyrocufflink.blue
|
||||
|
||||
[vm-hosts]
|
||||
vmhost1.pyrocufflink.blue
|
||||
|
||||
[zabbix:children]
|
||||
pyrocufflink
|
||||
Reference in New Issue
Block a user