|
|
@ -4,13 +4,11 @@
|
|
|
|
- name: setup
|
|
|
|
- name: setup
|
|
|
|
iosxr_config:
|
|
|
|
iosxr_config:
|
|
|
|
commands: ['hostname {{ inventory_hostname_short }}']
|
|
|
|
commands: ['hostname {{ inventory_hostname_short }}']
|
|
|
|
provider: "{{ cli }}"
|
|
|
|
|
|
|
|
match: none
|
|
|
|
match: none
|
|
|
|
|
|
|
|
|
|
|
|
- name: configure top level command
|
|
|
|
- name: configure top level command
|
|
|
|
iosxr_config:
|
|
|
|
iosxr_config:
|
|
|
|
commands: ['hostname foo']
|
|
|
|
commands: ['hostname foo']
|
|
|
|
provider: "{{ cli }}"
|
|
|
|
|
|
|
|
match: strict
|
|
|
|
match: strict
|
|
|
|
register: result
|
|
|
|
register: result
|
|
|
|
|
|
|
|
|
|
|
@ -22,7 +20,6 @@
|
|
|
|
- name: configure top level command idempotent check
|
|
|
|
- name: configure top level command idempotent check
|
|
|
|
iosxr_config:
|
|
|
|
iosxr_config:
|
|
|
|
commands: ['hostname foo']
|
|
|
|
commands: ['hostname foo']
|
|
|
|
provider: "{{ cli }}"
|
|
|
|
|
|
|
|
match: strict
|
|
|
|
match: strict
|
|
|
|
register: result
|
|
|
|
register: result
|
|
|
|
|
|
|
|
|
|
|
@ -33,7 +30,6 @@
|
|
|
|
- name: teardown
|
|
|
|
- name: teardown
|
|
|
|
iosxr_config:
|
|
|
|
iosxr_config:
|
|
|
|
commands: ['hostname {{ inventory_hostname_short }}']
|
|
|
|
commands: ['hostname {{ inventory_hostname_short }}']
|
|
|
|
provider: "{{ cli }}"
|
|
|
|
|
|
|
|
match: none
|
|
|
|
match: none
|
|
|
|
|
|
|
|
|
|
|
|
- debug: msg="END cli/toplevel_nonidempotent.yaml"
|
|
|
|
- debug: msg="END cli/toplevel_nonidempotent.yaml"
|
|
|
|