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-09-01 15:42:29 -04:00
parent a79961605a
commit 561ecb5c61
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 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

View File

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

View File

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

View File

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

View File

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

View File

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