diff --git a/test/integration/targets/ios_facts/tasks/cli.yaml b/test/integration/targets/ios_facts/tasks/cli.yaml index 3fb2642692..dc70172278 100644 --- a/test/integration/targets/ios_facts/tasks/cli.yaml +++ b/test/integration/targets/ios_facts/tasks/cli.yaml @@ -10,7 +10,7 @@ set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}" - name: run test cases (connection=network_cli) - include: "{{ test_case_to_run }} ansible_connection=network_cli ansible_become=yes" + include: "{{ test_case_to_run }} ansible_connection=network_cli ansible_become=yes ansible_become_method=enable" with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run