Target specific host groups instead of 'all'
The playbook targets 'all', which is a dynamically generated ansible group that contains all hosts. This potentially targets hosts that are not managed by OSA but exist in the same inventory namespace. This now targets the OSA hosts and containers var that contains the group names this should target. Change-Id: I3bb6ad0bc81dbf8522258cce262023335eec547e
This commit is contained in:
parent
eff0c52dc2
commit
676c868111
@ -33,7 +33,8 @@
|
||||
- name: Install unbound DNS resolver client configurations
|
||||
hosts:
|
||||
- "!unbound_all"
|
||||
- all
|
||||
- "{{ openstack_host_group|default('hosts') }}"
|
||||
- "{{ container_group|default('all_containers') }}"
|
||||
user: root
|
||||
pre_tasks:
|
||||
#gather a list of physical_hosts containing unbound containers
|
||||
|
Loading…
Reference in New Issue
Block a user