specify ansible_become_method=enable (#34471)

This commit is contained in:
John R Barker 2018-01-04 18:43:57 +00:00 committed by GitHub
parent 75fd76cd9f
commit 5e80f22d7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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