summaryrefslogtreecommitdiff
path: root/test/integration/targets/vyos_smoke/tests/cli/misc_tests.yaml
blob: 720f95eacc1f164905c68f63aa4d554c8e784749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# hit check conditional in module_utils.network.vyos -> load_config()
- name: configure simple config command
  vyos.vyos.vyos_config:
    lines: set system host-name check-test
  check_mode: yes

- name: get host name
  vyos.vyos.vyos_command:
    commands: show host name
  register: result

- assert:
    that: '"check-test" not in result.stdout'