kayobe/ansible/roles
Mark Goddard 8dc7ba7889 Use host vars files for kolla ansible inventory
Kayobe writes out several host variables to the Kolla ansible inventory
files, etc/kolla/inventory/seed and etc/kolla/inventory/overcloud. These
include ansible_host, and network interfaces such as api_interface,
ironic_dnsmasq_interface, etc.

In Ansible, these should have a higher precedence than the kolla ansible
group variables in ansible/group_vars/all.yml that set the defaults.
However, in Ansible 2.4+, if the host has the same name as a group that
it is in, the group variables now take precedence, meaning that it is
not possible to override them.

This was observed when using the kayobe-config-dev repo for testing,
where the seed host is in the seed group.

Admittedly ansible does tell you not to do this: [WARNING]:
Found both group and host with same name: localhost

The solution used here is to use a separate host_vars file for each
host. Alternatively we could enforce that hostnames and groups do not
overlap.

Change-Id: I349c8279d85a591689ac8108bce14d96889440fe
Story: 2004418
Task: 28065
2018-12-20 17:03:16 +00:00
..
activate-virtualenv Improve bare metal compute node management 2017-12-13 11:30:26 +00:00
bootstrap Fix some 'issues' raised by ansible-lint 2017-09-14 14:43:42 +01:00
cadvisor Change reserved keyword 'action' to 'kayobe_action' 2018-05-21 16:00:57 +01:00
console-allocation Add commands to enable and disable the serial console 2018-11-07 15:35:47 +00:00
deactivate-virtualenv Improve bare metal compute node management 2017-12-13 11:30:26 +00:00
dell-switch Remove documentation and use of dell_switch_delegate_to 2018-12-19 13:05:01 +01:00
dell-switch-bmp Update README for dell-switch-bmp role 2017-03-28 16:18:21 +01:00
dev-tools Remove kolla-host role, replace with a dev-tools role to install useful packages 2017-03-16 10:53:09 +00:00
disable-cloud-init Don't restart cloud-init when disabling it 2018-03-20 10:43:02 +00:00
disable-glean Small fixes for disable-glean role 2017-05-29 16:55:54 +01:00
disable-selinux Fix variable name - disable_selinux_reboot_timeout 2018-03-22 13:06:00 +00:00
docker Remove tasks for Ansible <= 2.3 2018-11-29 15:50:35 +00:00
docker-registry Change reserved keyword 'action' to 'kayobe_action' 2018-05-21 16:00:57 +01:00
drac-boot-mode Fix Ansible warnings for use of until with {{ }} 2018-05-24 17:56:50 +01:00
drac-pxe Fix Ansible warnings for use of until with {{ }} 2018-05-24 17:56:50 +01:00
image-download Fix IPA image download 2018-10-02 13:30:11 +01:00
inspection-store Switch inspection store to use stable docker image 2018-08-29 12:14:48 +01:00
ip-allocation Reconcile all 'Ansible control host' references 2018-07-11 17:19:18 +01:00
ip-routing Support configuring rp_filter mode 2018-07-20 14:56:45 +01:00
ipa-images Fix IPA image download 2018-10-02 13:30:11 +01:00
ironic-inspector-rules Update dependencies to Rocky 2018-11-19 14:37:33 +00:00
junos-switch Remove tasks for Ansible <= 2.3 2018-11-29 15:50:35 +00:00
kolla Make installation of epel-release optional 2018-08-02 15:30:33 +00:00
kolla-ansible Use host vars files for kolla ansible inventory 2018-12-20 17:03:16 +00:00
kolla-bifrost Remove legacy Ironic driver references 2018-11-06 11:34:11 +00:00
kolla-build Fix naming of Kolla install type config option 2018-09-28 15:17:41 +01:00
kolla-ceph Support Ansible 2.5 2018-06-06 12:45:51 +01:00
kolla-openstack Merge "Add support for a custom octavia.conf file" 2018-11-27 17:04:42 +00:00
node-exporter Change reserved keyword 'action' to 'kayobe_action' 2018-05-21 16:00:57 +01:00
opensm Change reserved keyword 'action' to 'kayobe_action' 2018-05-21 16:00:57 +01:00
pip Support installing PyPI packages via a mirror 2018-09-05 08:36:18 +01:00
public-openrc Generate a public environment file for accessing external APIs as admin 2017-04-05 11:23:44 +01:00
snat/tasks Enable IP routing and SNAT in seed for use during provisioning 2017-03-30 11:04:27 +01:00
ssh-known-host/tasks Initial mega commit of Kayobe 2017-02-14 15:14:29 +00:00
swift-setup Make kolla ansible user and group configurable 2018-07-10 14:12:39 +01:00
sysctl Add support for configuration of sysctl parameters 2017-08-31 17:43:18 +00:00
veth Add support for setting MTU on veth interfaces 2017-11-17 09:14:56 +00:00
wipe-disks/tasks Add an argument to host configure to wipe block devices 2017-03-24 15:11:32 +00:00
yum Retry adding custom repos until success 2018-11-22 10:53:07 +00:00
yum-cron Updated Yum roles with review comments. 2017-11-01 14:49:28 +00:00