diff --git a/files/ansible-playbooks/wifidebug17.yml b/files/ansible-playbooks/wifidebug17.yml index 0795173..87c18af 100644 --- a/files/ansible-playbooks/wifidebug17.yml +++ b/files/ansible-playbooks/wifidebug17.yml @@ -387,6 +387,12 @@ set_fact: inscope_device_name: "{{ ansible_hostname | default(inventory_hostname) }}" + - name: Expose outcome facts for scheduler wrapper + set_fact: + wifidebug_result_status: "{{ result_status | default('UNKNOWN') }}" + wifidebug_success: "{{ (result_status | default('')) in ['SUCCESS_DEPLOYED','SUCCESS_NO_CHANGE'] }}" + changed_when: false + # (a) Set custom field wifidebug -> v15 on control queue - name: Build custom-field payload (wifidebug -> version)