You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/vyos_smoke/tests/cli/misc_tests.yaml

14 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'