add: any_errors_fatal for phase 2 and 3
This commit is contained in:
@@ -123,6 +123,7 @@
|
|||||||
|
|
||||||
- name: "Phase 2 | Update backup node (TrueNAS, no snapshot)"
|
- name: "Phase 2 | Update backup node (TrueNAS, no snapshot)"
|
||||||
hosts: opnsense_backup
|
hosts: opnsense_backup
|
||||||
|
any_errors_fatal: true
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
@@ -189,7 +190,7 @@
|
|||||||
until: _post_firmware_status.json.product_version | default('unknown') == firmware_new_version
|
until: _post_firmware_status.json.product_version | default('unknown') == firmware_new_version
|
||||||
retries: 240
|
retries: 240
|
||||||
delay: 15
|
delay: 15
|
||||||
|
|
||||||
- name: Check VIP status
|
- name: Check VIP status
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: "https://{{ opnsense_host }}/api/diagnostics/interface/get_vip_status"
|
url: "https://{{ opnsense_host }}/api/diagnostics/interface/get_vip_status"
|
||||||
@@ -235,6 +236,7 @@
|
|||||||
|
|
||||||
- name: "Phase 3 | Update master node (Proxmox, with snapshot)"
|
- name: "Phase 3 | Update master node (Proxmox, with snapshot)"
|
||||||
hosts: opnsense_master
|
hosts: opnsense_master
|
||||||
|
any_errors_fatal: true
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
vars:
|
vars:
|
||||||
proxmox_snap_name: "preupdate-{{ now().strftime('%Y%m%d') }}"
|
proxmox_snap_name: "preupdate-{{ now().strftime('%Y%m%d') }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user