Move to new maintenance mode and check legacy first

This commit is contained in:
2023-09-01 15:42:29 -04:00
parent 1f9a74301f
commit d3391aa080
5 changed files with 28 additions and 10 deletions

View File

@ -19,7 +19,7 @@
when: ansible_lsb.codename is defined
- name: set PVC maintenance mode
command: pvc maintenance on
command: pvc cluster maintenance on
- name: secondary node
command: "pvc node secondary {{ ansible_hostname }}"
@ -240,7 +240,7 @@
connection: local
- name: unset PVC maintenance mode
command: pvc maintenance off
command: pvc cluster maintenance off
- hosts: all
remote_user: deploy