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:
Nathaniel Case 2017-12-13 14:30:24 -05:00 committed by GitHub
commit 2425374fdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 169 additions and 51 deletions

View file

@ -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 }}"

View file

@ -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 }}"

View file

@ -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 }}"

View file

@ -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 }}"