mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-10 22:55:27 +01:00
Compare commits
3 commits
202609e425
...
ae0380d671
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ae0380d671 | ||
|
|
4f46ff218f | ||
|
|
07f1e11015 |
2 changed files with 5 additions and 2 deletions
3
changelogs/fragments/456_sysctl_fix_nonetype.yml
Normal file
3
changelogs/fragments/456_sysctl_fix_nonetype.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
bugfixes:
|
||||
- "Fix sysctl integration test failing on newer versions of core. Previously NoneType was allowable, now it fails to convert to a str type."
|
||||
|
|
@ -170,7 +170,7 @@
|
|||
|
||||
- name: Try sysctl with no name
|
||||
sysctl:
|
||||
name:
|
||||
name: ""
|
||||
value: 1
|
||||
sysctl_set: yes
|
||||
ignore_errors: True
|
||||
|
|
@ -180,7 +180,7 @@
|
|||
assert:
|
||||
that:
|
||||
- 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
|
||||
sysctl:
|
||||
|
|
|
|||
Loading…
Reference in a new issue