summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_config/tests/cli/simple.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/targets/vyos_config/tests/cli/simple.yaml')
-rw-r--r--tests/integration/targets/vyos_config/tests/cli/simple.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/integration/targets/vyos_config/tests/cli/simple.yaml b/tests/integration/targets/vyos_config/tests/cli/simple.yaml
index 3db59270..1559fa2b 100644
--- a/tests/integration/targets/vyos_config/tests/cli/simple.yaml
+++ b/tests/integration/targets/vyos_config/tests/cli/simple.yaml
@@ -25,6 +25,17 @@
that:
- result.changed == false
+- name: configure simple config command while match = 'none'
+ register: result
+ vyos.vyos.vyos_config:
+ lines: set system host-name foo
+ match: none
+
+- assert:
+ that:
+ - result.changed == true
+ - "'set system host-name foo' in result.commands"
+
- name: Delete services
vyos.vyos.vyos_config: &id001
lines: