2018-02-02 21:04:19 +00:00
|
|
|
# hit check conditional in module_utils.network.vyos -> load_config()
|
2018-02-06 18:26:44 +00:00
|
|
|
# - 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'
|