Compare commits
2 Commits
2b142ac3fb
...
15f013e74e
Author | SHA1 | Date | |
---|---|---|---|
15f013e74e | |||
c13f922c7d |
@ -6,7 +6,7 @@
|
|||||||
become_user: root
|
become_user: root
|
||||||
gather_facts: yes
|
gather_facts: yes
|
||||||
vars:
|
vars:
|
||||||
minimum_pvc_version: 0.9.68
|
minimum_pvc_version: 0.9.69
|
||||||
tasks:
|
tasks:
|
||||||
- name: check that cluster is on the minimum PVC version or newer
|
- 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 }}"
|
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
|
- name: set first node as primary coordinator
|
||||||
command: "pvc node primary --wait"
|
command: "pvc node primary --wait"
|
||||||
run_once: yes
|
run_once: yes
|
||||||
delegate_to: "{{ item }}"
|
delegate_to: "{{ ansible_play_hosts[0] }}"
|
||||||
loop: "{{ ansible_play_hosts[0] }}"
|
|
||||||
|
|
||||||
- name: unset PVC maintenance mode
|
- name: unset PVC maintenance mode
|
||||||
command: pvc cluster maintenance off
|
command: pvc cluster maintenance off
|
||||||
|
Reference in New Issue
Block a user