Remove extra whitespace

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:30 -04:00
parent 64ce09122d
commit 1e497413e8
2 changed files with 10 additions and 10 deletions

View File

@ -76,7 +76,7 @@
debian_version: "{{ ansible_distribution_major_version }}" debian_version: "{{ ansible_distribution_major_version }}"
debian_codename: "{{ ansible_distribution_release }}" debian_codename: "{{ ansible_distribution_release }}"
when: ansible_distribution_release is defined when: ansible_distribution_release is defined
- name: set Debian details (with ansible_lsb) - name: set Debian details (with ansible_lsb)
set_fact: set_fact:
debian_version: "{{ ansible_lsb.major_release }}" debian_version: "{{ ansible_lsb.major_release }}"
@ -86,17 +86,17 @@
- name: secondary node - name: secondary node
command: "pvc node secondary {{ ansible_hostname }}" command: "pvc node secondary {{ ansible_hostname }}"
ignore_errors: yes ignore_errors: yes
- name: wait 30 seconds for system to stabilize - name: wait 30 seconds for system to stabilize
pause: pause:
seconds: 30 seconds: 30
become: no become: no
connection: local connection: local
- name: flush node - name: flush node
command: "pvc node flush {{ ansible_hostname }} --wait" command: "pvc node flush {{ ansible_hostname }} --wait"
ignore_errors: yes ignore_errors: yes
- name: ensure VMs are migrated away - name: ensure VMs are migrated away
shell: "virsh list | grep running | wc -l" shell: "virsh list | grep running | wc -l"
register: virshcount 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" upgrade
apt-get --no-install-recommends --option Dpkg::Options::="--force-confnew" dist-upgrade apt-get --no-install-recommends --option Dpkg::Options::="--force-confnew" dist-upgrade
systemctl restart ssh systemctl restart ssh
- name: run script to perform safe d10->d12 upgrade (will take a long time) - name: run script to perform safe d10->d12 upgrade (will take a long time)
shell: /tmp/upgrade-d10.sh shell: /tmp/upgrade-d10.sh
@ -333,7 +333,7 @@
- name: unflush node - name: unflush node
command: "pvc node ready {{ ansible_hostname }} --wait" command: "pvc node ready {{ ansible_hostname }} --wait"
- name: make sure all VMs have returned - name: make sure all VMs have returned
shell: "pvc node info {{ ansible_hostname }} | grep '^Domain State' | awk '{ print $NF }'" shell: "pvc node info {{ ansible_hostname }} | grep '^Domain State' | awk '{ print $NF }'"
register: pvcunflush register: pvcunflush

View File

@ -66,26 +66,26 @@
reboot: reboot:
post_reboot_delay: 30 post_reboot_delay: 30
reboot_timeout: 1800 reboot_timeout: 1800
- name: wait 90 seconds for system to stabilize - name: wait 90 seconds for system to stabilize
pause: pause:
seconds: 90 seconds: 90
become: no become: no
connection: local connection: local
- name: restart pvcnoded on first install - name: restart pvcnoded on first install
service: service:
name: pvcnoded name: pvcnoded
state: restarted state: restarted
throttle: 1 throttle: 1
ignore_errors: yes ignore_errors: yes
- name: wait 30 seconds for system to stabilize - name: wait 30 seconds for system to stabilize
pause: pause:
seconds: 30 seconds: 30
become: no become: no
connection: local connection: local
- name: set first node as primary coordinator on first install - name: set first node as primary coordinator on first install
command: "pvc node primary --wait" command: "pvc node primary --wait"
run_once: yes run_once: yes