Swap how become is specified for ios integration tests (#34107)

This commit is contained in:
Nathaniel Case 2017-12-20 14:05:16 -05:00 committed by GitHub
commit 5f215337c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 28 additions and 202 deletions

View file

@ -10,13 +10,13 @@
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"
include: "{{ test_case_to_run }} ansible_connection=network_cli ansible_become=yes"
with_items: "{{ test_items }}"
loop_control:
loop_var: test_case_to_run
- name: run test case (connection=local)
include: "{{ test_case_to_run }} ansible_connection=local ansible_become=no"
include: "{{ test_case_to_run }} ansible_connection=local"
with_first_found: "{{ test_items }}"
loop_control:
loop_var: test_case_to_run