1--- 2- debug: msg="START common/waitfor_multiple.yaml on connection={{ ansible_connection }}" 3 4- name: run multiple commands and evaluate the output 5 exos_command: 6 commands: 7 - show version 8 - show ports no-refresh 9 wait_for: 10 - result[0] contains ExtremeXOS 11 - result[1] contains 20 12 register: result 13 14- assert: 15 that: 16 - "result.changed == false" 17 - "result.stdout is defined" 18 19 20- debug: msg="END common/waitfor_multiple.yaml on connection={{ ansible_connection }}" 21