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:
parent
408f5afaee
commit
7b51fe0d00
|
@ -49,8 +49,8 @@ For full details, please see the general [PVC install documentation](https://par
|
|||
0. Create a set of vars in `group_vars`, using `group_vars/default` as an example. Ensure
|
||||
that all desired coordinators are configured with the `is_coordinator: yes` flag.
|
||||
0. Run the `pvc.yml` playbook against the servers. If this is the very first run for a given
|
||||
cluster, use the `-e bootstrap=yes` variable to ensure the Ceph, Patroni, and PVC clusters
|
||||
are initialized.
|
||||
cluster, use the `-e do_bootstrap=yes` variable to ensure the Ceph, Patroni, and PVC
|
||||
clusters are initialized.
|
||||
|
||||
## License
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue