Compare commits
2 Commits
2b142ac3fb
...
15f013e74e
Author | SHA1 | Date | |
---|---|---|---|
15f013e74e | |||
c13f922c7d |
@ -6,7 +6,7 @@
|
||||
become_user: root
|
||||
gather_facts: yes
|
||||
vars:
|
||||
minimum_pvc_version: 0.9.68
|
||||
minimum_pvc_version: 0.9.69
|
||||
tasks:
|
||||
- name: check that cluster is on the minimum PVC version or newer
|
||||
shell: "dpkg --compare-versions $(pvc --quiet cluster status -f json | jq '.pvc_version' | tr -d '\"') ge {{ minimum_pvc_version }}"
|
||||
@ -529,8 +529,7 @@
|
||||
- name: set first node as primary coordinator
|
||||
command: "pvc node primary --wait"
|
||||
run_once: yes
|
||||
delegate_to: "{{ item }}"
|
||||
loop: "{{ ansible_play_hosts[0] }}"
|
||||
delegate_to: "{{ ansible_play_hosts[0] }}"
|
||||
|
||||
- name: unset PVC maintenance mode
|
||||
command: pvc cluster maintenance off
|
||||
|
Reference in New Issue
Block a user