mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 23:25:28 +01:00
Fix invalid integration task for sysctl module
Signed-off-by: Hideki Saito <saito@fgrep.org>
This commit is contained in:
parent
06f68a8807
commit
49cefba20d
1 changed files with 3 additions and 3 deletions
|
|
@ -17,7 +17,7 @@
|
|||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# NOTE: Testing sysctl inside an unprivileged container means that we cannot
|
||||
# apply sysctl, or it will always fail, because of that in most cases (except
|
||||
# apply sysctl, or it will always fFail, because of that in most cases (except
|
||||
# those when it should fail) we have to use `reload=no`.
|
||||
|
||||
- name: Test inside Docker
|
||||
|
|
@ -123,9 +123,9 @@
|
|||
that:
|
||||
- sysctl_test2_change_test is not changed
|
||||
|
||||
- name: Try sysctl with an invalid value
|
||||
- name: Try sysctl with an invalid key
|
||||
sysctl:
|
||||
name: net.ipv4.ip_forward
|
||||
name: net.ipv4.invalid_key
|
||||
value: foo
|
||||
register: sysctl_test3
|
||||
ignore_errors: yes
|
||||
|
|
|
|||
Loading…
Reference in a new issue