From 1e497413e8abf8c53990fdd1591376faaa0d9e96 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:30 -0400 Subject: [PATCH] Remove extra whitespace --- oneshot/upgrade-pvc-cluster_deb12.yml | 12 ++++++------ roles/pvc/tasks/main.yml | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/oneshot/upgrade-pvc-cluster_deb12.yml b/oneshot/upgrade-pvc-cluster_deb12.yml index 3537eb5..f26ab41 100644 --- a/oneshot/upgrade-pvc-cluster_deb12.yml +++ b/oneshot/upgrade-pvc-cluster_deb12.yml @@ -76,7 +76,7 @@ debian_version: "{{ ansible_distribution_major_version }}" debian_codename: "{{ ansible_distribution_release }}" when: ansible_distribution_release is defined - + - name: set Debian details (with ansible_lsb) set_fact: debian_version: "{{ ansible_lsb.major_release }}" @@ -86,17 +86,17 @@ - name: secondary node command: "pvc node secondary {{ ansible_hostname }}" ignore_errors: yes - + - name: wait 30 seconds for system to stabilize pause: seconds: 30 become: no connection: local - + - name: flush node command: "pvc node flush {{ ansible_hostname }} --wait" ignore_errors: yes - + - name: ensure VMs are migrated away shell: "virsh list | grep running | wc -l" register: virshcount @@ -234,7 +234,7 @@ apt-get --no-install-recommends --option Dpkg::Options::="--force-confnew" upgrade apt-get --no-install-recommends --option Dpkg::Options::="--force-confnew" dist-upgrade systemctl restart ssh - + - name: run script to perform safe d10->d12 upgrade (will take a long time) shell: /tmp/upgrade-d10.sh @@ -333,7 +333,7 @@ - name: unflush node command: "pvc node ready {{ ansible_hostname }} --wait" - + - name: make sure all VMs have returned shell: "pvc node info {{ ansible_hostname }} | grep '^Domain State' | awk '{ print $NF }'" register: pvcunflush diff --git a/roles/pvc/tasks/main.yml b/roles/pvc/tasks/main.yml index 37d06ea..0bdeb99 100644 --- a/roles/pvc/tasks/main.yml +++ b/roles/pvc/tasks/main.yml @@ -66,26 +66,26 @@ reboot: post_reboot_delay: 30 reboot_timeout: 1800 - + - name: wait 90 seconds for system to stabilize pause: seconds: 90 become: no connection: local - + - name: restart pvcnoded on first install service: name: pvcnoded state: restarted throttle: 1 ignore_errors: yes - + - name: wait 30 seconds for system to stabilize pause: seconds: 30 become: no connection: local - + - name: set first node as primary coordinator on first install command: "pvc node primary --wait" run_once: yes