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:
Ricardo Carrillo Cruz 2017-07-12 11:41:45 +02:00 committed by GitHub
parent 29347b7e80
commit 4ef47fe6c9

View file

@ -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