From 5e80f22d7a4bbdfebad21f24077beb96d44d30c1 Mon Sep 17 00:00:00 2001 From: John R Barker Date: Thu, 4 Jan 2018 18:43:57 +0000 Subject: [PATCH] specify ansible_become_method=enable (#34471) --- test/integration/targets/ios_facts/tasks/cli.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/targets/ios_facts/tasks/cli.yaml b/test/integration/targets/ios_facts/tasks/cli.yaml index 3fb26426925..dc701722785 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