summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_config/tasks/cli.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/targets/vyos_config/tasks/cli.yaml')
-rw-r--r--tests/integration/targets/vyos_config/tasks/cli.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/integration/targets/vyos_config/tasks/cli.yaml b/tests/integration/targets/vyos_config/tasks/cli.yaml
index d06a647..35c2376 100644
--- a/tests/integration/targets/vyos_config/tasks/cli.yaml
+++ b/tests/integration/targets/vyos_config/tasks/cli.yaml
@@ -11,7 +11,9 @@
test_items: "{{ test_cases.files | map(attribute='path') | list }}"
- name: Run test case (connection=ansible.netcommon.network_cli)
- ansible.builtin.include_tasks: "{{ test_case_to_run }} ansible_connection=ansible.netcommon.network_cli"
+ ansible.builtin.include_tasks: "{{ test_case_to_run }}"
+ vars:
+ ansible_connection: ansible.netcommon.network_cli
with_items: "{{ test_items }}"
loop_control:
loop_var: test_case_to_run