Move hosts file management toggle to all group vars

In Queens, the hosts file management began occurring on all hosts
and containers because openstack_hosts role now runs on all inventory
items (prior to Queens, it only ran on 'hosts'). The flag for managing
the /etc/hosts management should now be moved to the 'all' group
vars.

Change-Id: I0a9e8e86cd1eb40f55d40eb291f49563a433fd82
This commit is contained in:
Logan V 2019-05-29 12:20:48 -05:00
parent c012df25ab
commit c06e6b5885
2 changed files with 3 additions and 3 deletions

View File

@ -67,6 +67,9 @@ install_method: "source"
#Group containing resolvers to configure
resolvconf_resolver_group: unbound
# Disable /etc/hosts management if unbound DNS resolution containers exist
openstack_host_manage_hosts_file: "{{ groups['unbound'] is not defined or groups['unbound'] | length < 1 }}"
## Enable external SSL handling for general OpenStack services
openstack_external_ssl: true

View File

@ -18,9 +18,6 @@ lxc_hosts_package_state: "{{ package_state }}"
openstack_hosts_package_state: "{{ package_state }}"
security_package_state: "{{ package_state }}"
# Disable /etc/hosts management if unbound DNS resolution containers exist
openstack_host_manage_hosts_file: "{{ groups['unbound'] is not defined or groups['unbound'] | length < 1 }}"
# Use the RHEL 7 STIG content from the ansible-hardening role
stig_version: rhel7