From 0cbd5131b8f6d8497fda432003fd12e57e99283f Mon Sep 17 00:00:00 2001 From: ashwini-mhatre Date: Wed, 1 Sep 2021 11:56:44 +0530 Subject: [PATCH 1/2] Add inventory file for iosxr --- tests/integration/inventories/iosxr.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/integration/inventories/iosxr.yaml diff --git a/tests/integration/inventories/iosxr.yaml b/tests/integration/inventories/iosxr.yaml new file mode 100644 index 0000000..e5980a4 --- /dev/null +++ b/tests/integration/inventories/iosxr.yaml @@ -0,0 +1,19 @@ +--- +all: + hosts: + localhost: + ansible_connection: local + ansible_python_interpreter: /bin/python3.8 +appliance: + hosts: + vyos: + ansible_host: iosxr.example.org + ansible_user: zuul + vars: + ansible_connection: ansible.netcommon.network_cli + ansible_network_os: cisco.iosxr.iosxr + # NOTE(pabelanger): With stable-2.9 / stable-2.11 we need to force + # /bin/python3.8 and not discover /usr/libexec/platform-python (python3.6) + # ansible_python_interpreter: /bin/python3.8 + collection_name: iosxr + collection_namespace: cisco From d12eac7166a9a3e6191c75cddc2e521483db6610 Mon Sep 17 00:00:00 2001 From: ashwini-mhatre Date: Wed, 1 Sep 2021 19:53:19 +0530 Subject: [PATCH 2/2] fix issue --- tests/integration/inventories/iosxr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/inventories/iosxr.yaml b/tests/integration/inventories/iosxr.yaml index e5980a4..f94d751 100644 --- a/tests/integration/inventories/iosxr.yaml +++ b/tests/integration/inventories/iosxr.yaml @@ -6,7 +6,7 @@ all: ansible_python_interpreter: /bin/python3.8 appliance: hosts: - vyos: + iosxr: ansible_host: iosxr.example.org ansible_user: zuul vars: