1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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