specify ansible_become_method=enable (#34471)

pull/34475/head
John R Barker 7 years ago committed by GitHub
parent 75fd76cd9f
commit 5e80f22d7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save