Fix ceph_vip variable name
The purpose of this patch is to fix two bugs that happened during the ceph vip provisioning process for the ceph related services: 1. ceph_ha is the wrong variable name as ceph_vip_map is used on the rest of the task set 2. a default to store the retrieved information is missing: it's now set to working_dir and it's consistent with the rest of deployed ceph Change-Id: Ia6517f488e5a88492ca401e6409c9e9a8dd62fbe
This commit is contained in:
parent
0de1311402
commit
da63efc99b
|
@ -28,9 +28,13 @@
|
|||
|
||||
- name: Load Virtual IP Ceph networks data config from file
|
||||
set_fact:
|
||||
ceph_ha: "{{ lookup('file', tripleo_cephadm_ha_services_path) | from_yaml }}"
|
||||
ceph_vip_map: "{{ lookup('file', tripleo_cephadm_ha_services_path) | from_yaml }}"
|
||||
when:
|
||||
- ceph_ha is undefined
|
||||
- ceph_vip_map is undefined
|
||||
|
||||
- name: Store reserved vip info
|
||||
set_fact:
|
||||
render_path: '{{ working_dir }}/ceph_vips.yaml'
|
||||
|
||||
- name: Network/Subnet based Ceph VIPs build
|
||||
block:
|
||||
|
|
Loading…
Reference in New Issue