Add role run to initial D12 upgrade
Avoids errors failing out later if there are any issues with these roles, and ensures the system is fully updated before the actual Debian upgrades.
This commit is contained in:
parent
e26a2f3ca5
commit
7f32414675
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue