mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Actually move vyos tests to network_cli (#33710)
* Fix vyos on network_cli on python3 bytes do not have format() in Python3 * Push connection to tasks, with bonus connection=local test * Run tests without explicit connection set * Add/update START messages where appropriate
This commit is contained in:
parent
cfb15b0272
commit
2425374fdd
37 changed files with 169 additions and 51 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- debug: msg="START cli/config_check.yaml"
|
||||
- debug: msg="START cli/config_check.yaml on connection={{ ansible_connection }}"
|
||||
|
||||
- name: setup
|
||||
vyos_config:
|
||||
|
@ -23,4 +23,4 @@
|
|||
that:
|
||||
- "result.changed == false"
|
||||
|
||||
- debug: msg="END cli/config_check.yaml"
|
||||
- debug: msg="END cli/config_check.yaml on connection={{ ansible_connection }}"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- debug: msg="START cli/comment.yaml"
|
||||
- debug: msg="START cli/comment.yaml on connection={{ ansible_connection }}"
|
||||
|
||||
- name: setup
|
||||
vyos_config:
|
||||
|
@ -31,4 +31,4 @@
|
|||
lines: set system host-name {{ inventory_hostname_short }}
|
||||
match: none
|
||||
|
||||
- debug: msg="END cli/comment.yaml"
|
||||
- debug: msg="END cli/comment.yaml on connection={{ ansible_connection }}"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- debug: msg="START cli/save.yaml"
|
||||
- debug: msg="START cli/save.yaml on connection={{ ansible_connection }}"
|
||||
|
||||
- name: setup
|
||||
vyos_config:
|
||||
|
@ -51,4 +51,4 @@
|
|||
match: none
|
||||
save: true
|
||||
|
||||
- debug: msg="END cli/simple.yaml"
|
||||
- debug: msg="END cli/simple.yaml on connection={{ ansible_connection }}"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- debug: msg="START cli/simple.yaml"
|
||||
- debug: msg="START cli/simple.yaml on connection={{ ansible_connection }}"
|
||||
|
||||
- name: setup
|
||||
vyos_config:
|
||||
|
@ -30,4 +30,4 @@
|
|||
lines: set system host-name {{ inventory_hostname_short }}
|
||||
match: none
|
||||
|
||||
- debug: msg="END cli/simple.yaml"
|
||||
- debug: msg="END cli/simple.yaml on connection={{ ansible_connection }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue