specify ansible_become_method=enable (#34471)
This commit is contained in:
parent
75fd76cd9f
commit
5e80f22d7a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue