From db4460262924dfaf530df7a78a1ab8cc672df191 Mon Sep 17 00:00:00 2001 From: Nathaniel Case Date: Wed, 10 Jan 2018 12:59:53 -0500 Subject: [PATCH] Remove vars from include for ios netowrk_cli tests (#34703) These should be specified in inventory for 2.5+ --- test/integration/targets/ios_banner/tasks/cli.yaml | 2 +- test/integration/targets/ios_command/tasks/cli.yaml | 2 +- test/integration/targets/ios_config/tasks/cli.yaml | 2 +- test/integration/targets/ios_facts/tasks/cli.yaml | 2 +- test/integration/targets/ios_interface/tasks/cli.yaml | 2 +- test/integration/targets/ios_l3_interface/tasks/cli.yaml | 2 +- test/integration/targets/ios_lldp/tasks/cli.yaml | 2 +- test/integration/targets/ios_logging/tasks/cli.yaml | 2 +- test/integration/targets/ios_ping/tasks/cli.yaml | 2 +- test/integration/targets/ios_static_route/tasks/cli.yaml | 2 +- test/integration/targets/ios_system/tasks/cli.yaml | 2 +- test/integration/targets/ios_user/tasks/cli.yaml | 2 +- test/integration/targets/ios_vlan/tasks/cli.yaml | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/test/integration/targets/ios_banner/tasks/cli.yaml b/test/integration/targets/ios_banner/tasks/cli.yaml index 3fb26426925..303af407622 100644 --- a/test/integration/targets/ios_banner/tasks/cli.yaml +++ b/test/integration/targets/ios_banner/tasks/cli.yaml @@ -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 }}" with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run diff --git a/test/integration/targets/ios_command/tasks/cli.yaml b/test/integration/targets/ios_command/tasks/cli.yaml index 3fb26426925..303af407622 100644 --- a/test/integration/targets/ios_command/tasks/cli.yaml +++ b/test/integration/targets/ios_command/tasks/cli.yaml @@ -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 }}" with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run diff --git a/test/integration/targets/ios_config/tasks/cli.yaml b/test/integration/targets/ios_config/tasks/cli.yaml index 3fb26426925..303af407622 100644 --- a/test/integration/targets/ios_config/tasks/cli.yaml +++ b/test/integration/targets/ios_config/tasks/cli.yaml @@ -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 }}" with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run diff --git a/test/integration/targets/ios_facts/tasks/cli.yaml b/test/integration/targets/ios_facts/tasks/cli.yaml index dc701722785..303af407622 100644 --- a/test/integration/targets/ios_facts/tasks/cli.yaml +++ b/test/integration/targets/ios_facts/tasks/cli.yaml @@ -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 ansible_become_method=enable" + include: "{{ test_case_to_run }}" with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run diff --git a/test/integration/targets/ios_interface/tasks/cli.yaml b/test/integration/targets/ios_interface/tasks/cli.yaml index 3fb26426925..303af407622 100644 --- a/test/integration/targets/ios_interface/tasks/cli.yaml +++ b/test/integration/targets/ios_interface/tasks/cli.yaml @@ -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 }}" with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run diff --git a/test/integration/targets/ios_l3_interface/tasks/cli.yaml b/test/integration/targets/ios_l3_interface/tasks/cli.yaml index 3fb26426925..303af407622 100644 --- a/test/integration/targets/ios_l3_interface/tasks/cli.yaml +++ b/test/integration/targets/ios_l3_interface/tasks/cli.yaml @@ -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 }}" with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run diff --git a/test/integration/targets/ios_lldp/tasks/cli.yaml b/test/integration/targets/ios_lldp/tasks/cli.yaml index 3fb26426925..303af407622 100644 --- a/test/integration/targets/ios_lldp/tasks/cli.yaml +++ b/test/integration/targets/ios_lldp/tasks/cli.yaml @@ -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 }}" with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run diff --git a/test/integration/targets/ios_logging/tasks/cli.yaml b/test/integration/targets/ios_logging/tasks/cli.yaml index 3fb26426925..303af407622 100644 --- a/test/integration/targets/ios_logging/tasks/cli.yaml +++ b/test/integration/targets/ios_logging/tasks/cli.yaml @@ -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 }}" with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run diff --git a/test/integration/targets/ios_ping/tasks/cli.yaml b/test/integration/targets/ios_ping/tasks/cli.yaml index 3fb26426925..303af407622 100644 --- a/test/integration/targets/ios_ping/tasks/cli.yaml +++ b/test/integration/targets/ios_ping/tasks/cli.yaml @@ -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 }}" with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run diff --git a/test/integration/targets/ios_static_route/tasks/cli.yaml b/test/integration/targets/ios_static_route/tasks/cli.yaml index 3fb26426925..303af407622 100644 --- a/test/integration/targets/ios_static_route/tasks/cli.yaml +++ b/test/integration/targets/ios_static_route/tasks/cli.yaml @@ -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 }}" with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run diff --git a/test/integration/targets/ios_system/tasks/cli.yaml b/test/integration/targets/ios_system/tasks/cli.yaml index 3fb26426925..303af407622 100644 --- a/test/integration/targets/ios_system/tasks/cli.yaml +++ b/test/integration/targets/ios_system/tasks/cli.yaml @@ -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 }}" with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run diff --git a/test/integration/targets/ios_user/tasks/cli.yaml b/test/integration/targets/ios_user/tasks/cli.yaml index 3fb26426925..303af407622 100644 --- a/test/integration/targets/ios_user/tasks/cli.yaml +++ b/test/integration/targets/ios_user/tasks/cli.yaml @@ -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 }}" with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run diff --git a/test/integration/targets/ios_vlan/tasks/cli.yaml b/test/integration/targets/ios_vlan/tasks/cli.yaml index 3fb26426925..303af407622 100644 --- a/test/integration/targets/ios_vlan/tasks/cli.yaml +++ b/test/integration/targets/ios_vlan/tasks/cli.yaml @@ -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 }}" with_items: "{{ test_items }}" loop_control: loop_var: test_case_to_run