kolla-ansible/ansible/roles/mariadb
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
..
defaults Make galeradb bootstraping robust 2016-01-04 09:10:04 -08:00
meta Reduce dependencies on the dest nodes 2015-08-06 01:32:05 +00:00
tasks Config files having underscores breaks Kolla-Kubernetes. 2016-06-06 16:58:58 -07:00
templates Enable kolla k8s to override bind api bind address in genconfig 2016-07-28 11:59:28 -04:00