diff --git a/files/ansible-playbooks/sot-updater.yml b/files/ansible-playbooks/sot-updater.yml index 2c5e64f..f059ce9 100644 --- a/files/ansible-playbooks/sot-updater.yml +++ b/files/ansible-playbooks/sot-updater.yml @@ -229,7 +229,7 @@ debug: msg: - "Dev1 collected fw='{{ dev1_fw_clean | default('') }}'" - - "Inventory fw (hostvars.custom_fields.fw_version)='{{ (hostvars[inventory_hostname].custom_fields.fw_version | default('')) }}'" + - "Inventory fw (hostvars.custom_fields.fw_version)='{{ nb_fw_version | default('')) }}'" - name: Dev1 | Version matches NetBox → skip update when: (dev1_fw_clean | default('')) == (nb_fw_version | default(''))