|
|
@ -17,22 +17,16 @@
|
|
|
|
save: true
|
|
|
|
save: true
|
|
|
|
provider: "{{ cli }}"
|
|
|
|
provider: "{{ cli }}"
|
|
|
|
register: result
|
|
|
|
register: result
|
|
|
|
# FIXME https://github.com/ansible/ansible-modules-core/issues/5008
|
|
|
|
|
|
|
|
ignore_errors: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
- assert:
|
|
|
|
that:
|
|
|
|
that:
|
|
|
|
- "result.changed == true"
|
|
|
|
- "result.changed == true"
|
|
|
|
# FIXME https://github.com/ansible/ansible-modules-core/issues/5008
|
|
|
|
|
|
|
|
ignore_errors: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: save should always run
|
|
|
|
- name: save should always run
|
|
|
|
ios_config:
|
|
|
|
ios_config:
|
|
|
|
save: true
|
|
|
|
save: true
|
|
|
|
provider: "{{ cli }}"
|
|
|
|
provider: "{{ cli }}"
|
|
|
|
register: result
|
|
|
|
register: result
|
|
|
|
# FIXME https://github.com/ansible/ansible-modules-core/issues/5008
|
|
|
|
|
|
|
|
ignore_errors: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: delete config (setup)
|
|
|
|
- name: delete config (setup)
|
|
|
|
ios_config:
|
|
|
|
ios_config:
|
|
|
|