kolla/ansible
Michal (inc0) Jastrzebski 5838bd0b3c Enable kolla k8s to override bind api bind address in genconfig
It's good if k8s reuses ansible templates, but we need to abstract all
ansible specific variables to achieve that.

- Implements ansible override variable api_interface_address.
- Adds api_interface_address setting and comments to globals.yml
- Makes changes to mariadb templates to accept this new setting.
- Disabled Galera when api_interface_address==0.0.0.0 in the
  case of Kubernetes.  Otherwise, mariadb fails to start.
- Tested with and without setting to ensure kolla genconfig output
  does not change when setting is disabled or undefined.

Change-Id: Ia0e4951c327be01b717aebb86ef4c3a4e7ed170e
Partially-implements: blueprint api-interface-bind-address-override
Co-authored-by: David Wang <dcwangmit01@gmail.com>
Co-authored-by: Ryan Hallisey <rhallise@redhat.com>
Co-authored-by: Kevin Fox <kevin@efox.cc>
2016-07-28 11:59:28 -04:00
..
action_plugins Fix the incompatibility for ansible 2.1.0 2016-05-30 23:02:09 +08:00
group_vars Enable kolla k8s to override bind api bind address in genconfig 2016-07-28 11:59:28 -04:00
inventory implement Ansible Tempest role 2016-07-20 09:43:10 +08:00
library Python 3: dict.iteritems() 2016-07-26 12:42:07 +00:00
roles Enable kolla k8s to override bind api bind address in genconfig 2016-07-28 11:59:28 -04:00
certificates.yml Add Ansible scripts to generate TLS certificates for testing 2016-02-26 14:09:31 -05:00
cleanup.yml Add a role to cleanup containers after deployment 2016-04-19 10:00:59 -04:00
mariadb_recovery.yml MariaDB lights out recovery 2016-03-16 15:53:44 +00:00
post-deploy.yml Create openrc file on the deploy node 2015-11-23 17:02:54 -05:00
prechecks.yml Fix file permissions 2015-12-26 17:36:38 +00:00
site.yml Add Watcher ansible roles and templates 2016-07-22 11:45:19 +01:00
tempest.yml implement Ansible Tempest role 2016-07-20 09:43:10 +08:00