summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelogs/fragments/add_fqcn_ansible_connection.yaml3
-rw-r--r--tests/integration/targets/vyos_smoke/tasks/cli.yaml4
-rw-r--r--tests/integration/targets/vyos_smoke/tests/cli/caching.yaml2
3 files changed, 6 insertions, 3 deletions
diff --git a/changelogs/fragments/add_fqcn_ansible_connection.yaml b/changelogs/fragments/add_fqcn_ansible_connection.yaml
new file mode 100644
index 0000000..5b6e80c
--- /dev/null
+++ b/changelogs/fragments/add_fqcn_ansible_connection.yaml
@@ -0,0 +1,3 @@
+---
+trivial:
+ - "change the ansible_connection to ansible.netcommon.network_cli (FQCN)"
diff --git a/tests/integration/targets/vyos_smoke/tasks/cli.yaml b/tests/integration/targets/vyos_smoke/tasks/cli.yaml
index f580816..cc5f7df 100644
--- a/tests/integration/targets/vyos_smoke/tasks/cli.yaml
+++ b/tests/integration/targets/vyos_smoke/tasks/cli.yaml
@@ -9,8 +9,8 @@
- name: set test_items
set_fact: test_items="{{ test_cases.files | map(attribute='path') | list }}"
-- name: run test case with single_user_mode (connection=network_cli)
- include: '{{ test_case_to_run }} ansible_connection=network_cli ansible_network_single_user_mode=True'
+- name: run test case with single_user_mode (connection=ansible.netcommon.network_cli)
+ include: '{{ test_case_to_run }} ansible_connection=ansible.netcommon.network_cli ansible_network_single_user_mode=True'
with_items: '{{ test_items }}'
loop_control:
loop_var: test_case_to_run
diff --git a/tests/integration/targets/vyos_smoke/tests/cli/caching.yaml b/tests/integration/targets/vyos_smoke/tests/cli/caching.yaml
index 4230bfa..87b93c8 100644
--- a/tests/integration/targets/vyos_smoke/tests/cli/caching.yaml
+++ b/tests/integration/targets/vyos_smoke/tests/cli/caching.yaml
@@ -82,4 +82,4 @@
always:
- name: cleanup
vyos.vyos.vyos_config: *rem
- when: ansible_connection == "network_cli" and ansible_network_single_user_mode|d(False)
+ when: ansible_connection == "ansible.netcommon.network_cli" and ansible_network_single_user_mode|d(False)