mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
specify ansible_become_method=enable (#34471)
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
|
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
|
||||||
|
|
||||||
- name: run test cases (connection=network_cli)
|
- 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 }}"
|
with_items: "{{ test_items }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: test_case_to_run
|
loop_var: test_case_to_run
|
||||||
|
|||||||
Reference in New Issue
Block a user