diff options
Diffstat (limited to 'test/integration/targets/vyos_smoke/tests/cli/common_config.yaml')
-rw-r--r-- | test/integration/targets/vyos_smoke/tests/cli/common_config.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/integration/targets/vyos_smoke/tests/cli/common_config.yaml b/test/integration/targets/vyos_smoke/tests/cli/common_config.yaml new file mode 100644 index 0000000..1c07980 --- /dev/null +++ b/test/integration/targets/vyos_smoke/tests/cli/common_config.yaml @@ -0,0 +1,10 @@ +# vyos.py in plugins and module_utils/network covered by these as well +# hit NetworkConfig +- name: configure simple config command + vyos.vyos.vyos_config: + lines: set system host-name smoke + +- name: return host name to inventory_hostname + vyos.vyos.vyos_config: + lines: set system host-name {{ inventory_hostname_short }} + match: none |