mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 07:05:27 +01:00
fix sysctl integration test failing on newer versions of core
Previously NoneType was allowable, now it fails to convert to a str type. Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
parent
202609e425
commit
07f1e11015
1 changed files with 2 additions and 2 deletions
|
|
@ -170,7 +170,7 @@
|
||||||
|
|
||||||
- name: Try sysctl with no name
|
- name: Try sysctl with no name
|
||||||
sysctl:
|
sysctl:
|
||||||
name:
|
name: ""
|
||||||
value: 1
|
value: 1
|
||||||
sysctl_set: yes
|
sysctl_set: yes
|
||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
|
|
@ -180,7 +180,7 @@
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- sysctl_no_name is failed
|
- sysctl_no_name is failed
|
||||||
- "sysctl_no_name.msg == 'name cannot be None'"
|
- "sysctl_no_name.msg == 'name cannot be blank'"
|
||||||
|
|
||||||
- name: Try sysctl with no value
|
- name: Try sysctl with no value
|
||||||
sysctl:
|
sysctl:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue