* adds missing params in a task (#35330)
This commit is contained in:
parent
bec4dcd66c
commit
dd949c5b65
1 changed files with 17 additions and 3 deletions
|
@ -163,6 +163,13 @@
|
|||
aggregate:
|
||||
- { dest: console, level: notifications }
|
||||
- { 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
|
||||
provider: "{{ netconf }}"
|
||||
register: result
|
||||
|
@ -170,6 +177,13 @@
|
|||
- assert:
|
||||
that:
|
||||
- 'result.changed == true'
|
||||
- '"console" in result.xml[0]'
|
||||
- '"buffered" in result.xml[1]'
|
||||
- '"buffered" in result.xml[2]'
|
||||
- '"file1" in result.xml[0]'
|
||||
- '"file2" in result.xml[0]'
|
||||
- '"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…
Reference in a new issue