2019-05-06 23:30:49 +02:00
|
|
|
---
|
|
|
|
- debug: msg="START netconf_config iosxr/basic.yaml on connection={{ ansible_connection }}"
|
|
|
|
|
|
|
|
- name: save config test
|
|
|
|
netconf_config:
|
|
|
|
backup: yes
|
|
|
|
register: result
|
2019-06-15 13:28:09 +02:00
|
|
|
connection: netconf
|
2019-05-06 23:30:49 +02:00
|
|
|
|
|
|
|
- assert:
|
|
|
|
that:
|
|
|
|
- "'backup_path' in result"
|
|
|
|
|
|
|
|
- debug: msg="END netconf_config iosxr/basic.yaml on connection={{ ansible_connection }}"
|