--- - debug: msg="START cli/contains.yaml" - include: "{{ role_path }}/tests/ios/contains.yaml" when: hostvars[inventory_hostname]['ansible_network_os'] == 'ios' - include: "{{ role_path }}/tests/iosxr/contains.yaml" when: hostvars[inventory_hostname]['ansible_network_os'] == 'iosxr' - include: "{{ role_path }}/tests/nxos/contains.yaml" when: hostvars[inventory_hostname]['ansible_network_os'] == 'nxos' - include: "{{ role_path }}/tests/eos/contains.yaml" when: hostvars[inventory_hostname]['ansible_network_os'] == 'eos' - include: "{{ role_path }}/tests/vyos/contains.yaml" when: hostvars[inventory_hostname]['ansible_network_os'] == 'vyos' - debug: msg="END cli/contains.yaml"