Switch eos_config save tests to use save_when (#26688)
Save seems broken, just use save_when since we are deprecating save.
This commit is contained in:
parent
29347b7e80
commit
4ef47fe6c9
1 changed files with 4 additions and 4 deletions
|
@ -12,9 +12,9 @@
|
|||
provider: "{{ cli }}"
|
||||
|
||||
|
||||
- name: save config
|
||||
- name: save config always
|
||||
eos_config:
|
||||
save: true
|
||||
save_when: always
|
||||
provider: "{{ cli }}"
|
||||
register: result
|
||||
|
||||
|
@ -22,9 +22,9 @@
|
|||
that:
|
||||
- "result.changed == true"
|
||||
|
||||
- name: save should always run
|
||||
- name: save always again (not idempotent)
|
||||
eos_config:
|
||||
save: true
|
||||
save_when: always
|
||||
provider: "{{ cli }}"
|
||||
register: result
|
||||
|
||||
|
|
Loading…
Reference in a new issue