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:
Joshua Boniface 2023-01-16 14:39:43 -05:00
parent 408f5afaee
commit 7b51fe0d00
6 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -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