mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Changes to enable network_cli and netconf on iosxr integration tests. (#35269)
* * Changes to enable network_cli and netconf on modules. * limits connection local for single TC per playbook. * * adds a note on why only 1 TC is executed with connection: local
This commit is contained in:
parent
f49a782099
commit
56eeaf1b2f
25 changed files with 548 additions and 499 deletions
|
@ -6,6 +6,7 @@
|
|||
- no username ansible2
|
||||
- no username ansible3
|
||||
provider: "{{ cli }}"
|
||||
connection: network_cli
|
||||
|
||||
- name: Create user (SetUp)
|
||||
iosxr_user:
|
||||
|
@ -13,6 +14,7 @@
|
|||
configured_password: password
|
||||
state: present
|
||||
provider: "{{ netconf }}"
|
||||
connection: netconf
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -28,6 +30,7 @@
|
|||
update_password: always
|
||||
state: present
|
||||
provider: "{{ netconf }}"
|
||||
connection: netconf
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -43,6 +46,7 @@
|
|||
update_password: on_create
|
||||
state: present
|
||||
provider: "{{ netconf }}"
|
||||
connection: netconf
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -58,6 +62,7 @@
|
|||
group: sysadmin
|
||||
state: present
|
||||
provider: "{{ netconf }}"
|
||||
connection: netconf
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -74,6 +79,7 @@
|
|||
group: sysadmin
|
||||
state: present
|
||||
provider: "{{ netconf }}"
|
||||
connection: netconf
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -90,6 +96,7 @@
|
|||
state: present
|
||||
group: sysadmin
|
||||
provider: "{{ netconf }}"
|
||||
connection: netconf
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -111,6 +118,7 @@
|
|||
state: present
|
||||
group: sysadmin
|
||||
provider: "{{ netconf }}"
|
||||
connection: netconf
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -130,6 +138,7 @@
|
|||
state: present
|
||||
group: sysadmin
|
||||
provider: "{{ netconf }}"
|
||||
connection: netconf
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -145,6 +154,7 @@
|
|||
- name: ansible3
|
||||
state: absent
|
||||
provider: "{{ netconf }}"
|
||||
connection: netconf
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -162,6 +172,7 @@
|
|||
- name: ansible3
|
||||
state: absent
|
||||
provider: "{{ netconf }}"
|
||||
connection: netconf
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue