69cd705634
* added preliminary vyos smoke tests * added comments, determined current tests are sufficient * add tests for check mode in module_utils.network.vyos * removed vyos_smoke from shippable * added comment explaining why AWS/Shippable tests won't work
13 lines
330 B
YAML
13 lines
330 B
YAML
# hit check conditional in module_utils.network.vyos -> load_config()
|
|
- name: configure simple config command
|
|
vyos_config:
|
|
lines: set system host-name check-test
|
|
check_mode: yes
|
|
|
|
- name: get host name
|
|
vyos_command:
|
|
commands: show host name
|
|
register: result
|
|
|
|
- assert:
|
|
that: '"check-test" not in result.stdout'
|