mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-07-31 03:44:45 +00:00
Validate results for --system option
This commit is contained in:
@@ -262,7 +262,7 @@
|
|||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
that:
|
that:
|
||||||
- sysctl_system_test1 is changed
|
- sysctl_system_test1 is changed
|
||||||
- sysctl_check_system1.stdout_lines == ["vm.swappiness = 10"]
|
- "'10' in sysctl_check_system1.stdout"
|
||||||
|
|
||||||
# Test system_wide with reload=true
|
# Test system_wide with reload=true
|
||||||
- name: Set vm.dirty_ratio to 20 with system_wide and reload=true
|
- name: Set vm.dirty_ratio to 20 with system_wide and reload=true
|
||||||
|
|||||||
Reference in New Issue
Block a user