add replace testcase eos_config (#27693)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
1ce2bf56a2
commit
60b3f80c6c
2 changed files with 14 additions and 0 deletions
|
@ -0,0 +1,3 @@
|
|||
vlan 50
|
||||
name foo
|
||||
|
|
@ -36,4 +36,15 @@
|
|||
# https://github.com/ansible/ansible-modules-core/issues/4807
|
||||
- "result.updates is not defined"
|
||||
|
||||
- name: check replace config with src
|
||||
eos_config:
|
||||
src: basic/vlan.j2
|
||||
replace: config
|
||||
provider: "{{ cli }}"
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "result.changed == true"
|
||||
|
||||
- debug: msg="END cli/src_basic.yaml"
|
||||
|
|
Loading…
Reference in a new issue