* adds missing params in a task (#35330)

pull/35332/head
Kedar Kekan 7 years ago committed by GitHub
parent bec4dcd66c
commit dd949c5b65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -163,6 +163,13 @@
aggregate: aggregate:
- { dest: console, level: notifications } - { dest: console, level: notifications }
- { dest: buffered, size: 4700000 } - { dest: buffered, size: 4700000 }
- { dest: monitor, level: alerts }
- { dest: host, name: 10.10.10.1, level: errors }
- { dest: host, name: 10.10.10.2 }
- { dest: file, name: file1, size: 2048, level: critical}
- { dest: file, name: file2, size: 2048 }
- { facility: local3 }
- { hostnameprefix: host3 }
state: absent state: absent
provider: "{{ netconf }}" provider: "{{ netconf }}"
register: result register: result
@ -170,6 +177,13 @@
- assert: - assert:
that: that:
- 'result.changed == true' - 'result.changed == true'
- '"console" in result.xml[0]' - '"file1" in result.xml[0]'
- '"buffered" in result.xml[1]' - '"file2" in result.xml[0]'
- '"buffered" in result.xml[2]' - '"10.10.10.1" in result.xml[1]'
- '"10.10.10.2" in result.xml[1]'
- '"notice" in result.xml[2]'
- '"alert" in result.xml[3]'
- '"4700000" in result.xml[4]'
- '"info" in result.xml[5]'
- '"local3" in result.xml[6]'
- '"host3" in result.xml[7]'

Loading…
Cancel
Save