Adjust name of bootstrap trigger variable
The PVC bootstrap framework overrides this variable and wreaks havoc on it. Instead adjust our side so that it looks for do_bootstrap instead.
This commit is contained in:
@ -40,7 +40,7 @@
|
||||
state: directory
|
||||
|
||||
- include: ceph/bootstrap.yml
|
||||
when: bootstrap is defined and bootstrap
|
||||
when: do_bootstrap is defined and do_bootstrap
|
||||
run_once: yes
|
||||
|
||||
- name: install configurations
|
||||
|
@ -34,7 +34,7 @@
|
||||
notify: restart libvirtd
|
||||
|
||||
- include: libvirt/bootstrap.yml
|
||||
when: bootstrap is defined and bootstrap
|
||||
when: do_bootstrap is defined and do_bootstrap
|
||||
run_once: yes
|
||||
|
||||
- name: get ceph libvirt secret key
|
||||
|
@ -88,7 +88,7 @@
|
||||
|
||||
- include: patroni/bootstrap.yml
|
||||
run_once: yes
|
||||
when: bootstrap is defined and bootstrap
|
||||
when: do_bootstrap is defined and do_bootstrap
|
||||
|
||||
- name: start but disable services (managed by PVC)
|
||||
service:
|
||||
|
@ -52,7 +52,7 @@
|
||||
|
||||
- include: pvc/bootstrap.yml
|
||||
run_once: yes
|
||||
when: bootstrap is defined and bootstrap and is_coordinator
|
||||
when: do_bootstrap is defined and do_bootstrap and is_coordinator
|
||||
|
||||
- meta: flush_handlers
|
||||
|
||||
|
@ -49,6 +49,6 @@
|
||||
- zookeeper
|
||||
|
||||
- include: zookeeper/bootstrap.yml
|
||||
when: bootstrap is defined and bootstrap
|
||||
when: do_bootstrap is defined and do_bootstrap
|
||||
|
||||
- meta: flush_handlers
|
||||
|
Reference in New Issue
Block a user