Add galera_address to all playbooks installing galera_client

This patch includes the galera_address var for each playbook
that deploys a role depending on galera_client and thereby
dropping a .my.cnf onto the target.

Prior to this patch the .my.cnf would be dropped with the
galera_client's role default of 127.0.0.1 as the host address.

The address of 127.0.0.1 is intentionally left to deploy on
the galera servers so that the .my.cnf will be configured to
interact with the local database.

Change-Id: Ife33c68d825ecf1e6cdb6784802e9a099eb54289
Closes-Bug: #1487353
This commit is contained in:
Jesse Pretorius 2015-07-31 15:51:06 +01:00
parent c8b133e025
commit 93f89e25ce
8 changed files with 8 additions and 0 deletions

View File

@ -70,5 +70,6 @@
tags:
- "ceilometer-rsyslog-client"
vars:
galera_address: "{{ internal_lb_vip_address }}"
ansible_hostname: "{{ container_name }}"
is_metal: "{{ properties.is_metal|default(false) }}"

View File

@ -128,6 +128,7 @@
tags:
- "system-crontab-coordination"
vars:
galera_address: "{{ internal_lb_vip_address }}"
cinder_galera_address: "{{ internal_lb_vip_address }}"
glance_host: "{{ internal_lb_vip_address }}"
ansible_hostname: "{{ container_name }}"

View File

@ -90,6 +90,7 @@
tags:
- "system-crontab-coordination"
vars:
galera_address: "{{ internal_lb_vip_address }}"
glance_galera_address: "{{ internal_lb_vip_address }}"
ansible_hostname: "{{ container_name }}"
is_metal: "{{ properties.is_metal|default(false) }}"

View File

@ -60,6 +60,7 @@
tags:
- "system-crontab-coordination"
vars:
galera_address: "{{ internal_lb_vip_address }}"
heat_galera_address: "{{ internal_lb_vip_address }}"
ansible_hostname: "{{ container_name }}"
is_metal: "{{ properties.is_metal|default(false) }}"

View File

@ -60,6 +60,7 @@
tags:
- "system-crontab-coordination"
vars:
galera_address: "{{ internal_lb_vip_address }}"
horizon_galera_address: "{{ internal_lb_vip_address }}"
ansible_hostname: "{{ container_name }}"
horizon_server_name: "{{ container_name }}"

View File

@ -61,6 +61,7 @@
tags:
- "system-crontab-coordination"
vars:
galera_address: "{{ internal_lb_vip_address }}"
keystone_galera_address: "{{ internal_lb_vip_address }}"
ansible_hostname: "{{ container_name }}"
is_metal: "{{ properties.is_metal|default(false) }}"

View File

@ -106,6 +106,7 @@
tags:
- "system-crontab-coordination"
vars:
galera_address: "{{ internal_lb_vip_address }}"
neutron_galera_address: "{{ internal_lb_vip_address }}"
ansible_hostname: "{{ container_name }}"
is_metal: "{{ properties.is_metal|default(false) }}"

View File

@ -107,6 +107,7 @@
tags:
- "system-crontab-coordination"
vars:
galera_address: "{{ internal_lb_vip_address }}"
nova_galera_address: "{{ internal_lb_vip_address }}"
ansible_hostname: "{{ container_name }}"
ansible_ssh_host: "{{ container_address }}"