diff --git a/oneshot/upgrade-pvc-cluster_deb12.yml b/oneshot/upgrade-pvc-cluster_deb12.yml index e5b5da9..ec0a474 100644 --- a/oneshot/upgrade-pvc-cluster_deb12.yml +++ b/oneshot/upgrade-pvc-cluster_deb12.yml @@ -1,5 +1,5 @@ --- -# Play 1: Sanity check, information gathering, patroni freeze +# Play 1: Sanity check, initial configuration upgrade, information gathering, patroni freeze - hosts: all remote_user: deploy become: yes @@ -16,6 +16,14 @@ command: pvc cluster maintenance on ignore_errors: yes + - name: include base role + import_role: + name: base + + - name: include pvc role + import_role: + name: pvc + - name: get current postgresql directory shell: "find /usr/lib/postgresql -mindepth 1 -maxdepth 1 -type d -name '[0-9][0-9]' | sort -n | tail -1" register: old_postgres_dir_output