* adds commit replace with config file for iosxr (#35564)

* * adds commit replace with config file for iosxr
* fixes dci failure in iosxr_logging

* * review comment changes
This commit is contained in:
Kedar Kekan
2018-02-01 19:45:32 +05:30
committed by John R Barker
parent 2479b6d635
commit 684e953b50
11 changed files with 227 additions and 48 deletions

View File

@@ -3,7 +3,7 @@
- name: run invalid command
iosxr_command:
commands: [{command: 'show foo', prompt: 'fooprompt', answer: 'yes'}]
commands: {command: 'show foo', prompt: 'fooprompt', answer: 'yes'}
register: result
ignore_errors: yes
@@ -15,7 +15,7 @@
iosxr_command:
commands:
- show version
- [{command: 'show foo', prompt: 'fooprompt', answer: 'yes'}]
- {command: 'show foo', prompt: 'fooprompt', answer: 'yes'}
register: result
ignore_errors: yes