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
a79961605a
commit
561ecb5c61
|
@ -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
|
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.
|
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
|
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
|
cluster, use the `-e do_bootstrap=yes` variable to ensure the Ceph, Patroni, and PVC
|
||||||
are initialized.
|
clusters are initialized.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- include: ceph/bootstrap.yml
|
- include: ceph/bootstrap.yml
|
||||||
when: bootstrap is defined and bootstrap
|
when: do_bootstrap is defined and do_bootstrap
|
||||||
run_once: yes
|
run_once: yes
|
||||||
|
|
||||||
- name: install configurations
|
- name: install configurations
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
notify: restart libvirtd
|
notify: restart libvirtd
|
||||||
|
|
||||||
- include: libvirt/bootstrap.yml
|
- include: libvirt/bootstrap.yml
|
||||||
when: bootstrap is defined and bootstrap
|
when: do_bootstrap is defined and do_bootstrap
|
||||||
run_once: yes
|
run_once: yes
|
||||||
|
|
||||||
- name: get ceph libvirt secret key
|
- name: get ceph libvirt secret key
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
|
|
||||||
- include: patroni/bootstrap.yml
|
- include: patroni/bootstrap.yml
|
||||||
run_once: yes
|
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)
|
- name: start but disable services (managed by PVC)
|
||||||
service:
|
service:
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
|
|
||||||
- include: pvc/bootstrap.yml
|
- include: pvc/bootstrap.yml
|
||||||
run_once: yes
|
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
|
- meta: flush_handlers
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,6 @@
|
||||||
- zookeeper
|
- zookeeper
|
||||||
|
|
||||||
- include: zookeeper/bootstrap.yml
|
- include: zookeeper/bootstrap.yml
|
||||||
when: bootstrap is defined and bootstrap
|
when: do_bootstrap is defined and do_bootstrap
|
||||||
|
|
||||||
- meta: flush_handlers
|
- meta: flush_handlers
|
||||||
|
|
Loading…
Reference in New Issue