fix: remove useles assert
This commit is contained in:
@@ -61,11 +61,11 @@
|
|||||||
total_vips: "{{ _vip_status.json.rowCount }}"
|
total_vips: "{{ _vip_status.json.rowCount }}"
|
||||||
mismatched_vips: "{{ _vip_status.json.rows | rejectattr('status', 'equalto', main_role) | list | length }}"
|
mismatched_vips: "{{ _vip_status.json.rows | rejectattr('status', 'equalto', main_role) | list | length }}"
|
||||||
in_maintenance: "{{ _vip_status.json.carp.maintenancemode }}"
|
in_maintenance: "{{ _vip_status.json.carp.maintenancemode }}"
|
||||||
# update_result: "{{ 'pending' if _firmware_status.json.status == 'update' else 'skipped' }}"
|
|
||||||
|
|
||||||
- name: Skip backup update
|
- name: Skip backup update
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
skip_update: true
|
skip_update: true
|
||||||
|
firmware_status: "skipped"
|
||||||
delegate_to: "{{ groups['opnsense_backup'][0] }}"
|
delegate_to: "{{ groups['opnsense_backup'][0] }}"
|
||||||
delegate_facts: true
|
delegate_facts: true
|
||||||
run_once: true
|
run_once: true
|
||||||
@@ -321,10 +321,6 @@
|
|||||||
retries: 240
|
retries: 240
|
||||||
delay: 15
|
delay: 15
|
||||||
|
|
||||||
- name: Assert the node has been updated
|
|
||||||
ansible.builtin.assert:
|
|
||||||
that:
|
|
||||||
|
|
||||||
- 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"
|
||||||
|
|||||||
Reference in New Issue
Block a user