Commit graph

23 commits

Author SHA1 Message Date
mubashir.Ijaz
2d2df3989e assertion checks 2025-08-11 17:19:39 +02:00
mubashir.Ijaz
df8413f3a0 fix try with invalid name 2025-08-08 17:43:48 +02:00
mubashir.Ijaz
f434c19e1e test assertion syntax 2025-08-08 17:32:06 +02:00
mubashir.Ijaz
481de3d2dc Validate results for --system option 2025-08-08 17:11:15 +02:00
mubashir.Ijaz
ae90bac688 Try sysctl with an invalid name 2025-08-08 16:48:00 +02:00
mubashir.Ijaz
80290d8e06 reload: false in docker tests 2025-08-08 16:32:43 +02:00
mubashir.Ijaz
560afe8217 handle ignoreerrors consistently 2025-08-08 16:13:08 +02:00
mubashir.Ijaz
7f8505d693 system_wide fix 2025-08-07 23:31:05 +02:00
mubashir.Ijaz
2f5210f362 Add integration system_wide tests 2025-08-07 17:47:24 +02:00
MubashirUsman
6280bb8ec8 Add integration test for --system option 2024-11-03 23:21:39 +01:00
Jill Rouleau
83c4d2abd1 lint fixes 2024-05-09 12:10:44 -07:00
Jill Rouleau
e5733c5e49 Quote string in test assertion 2024-05-07 16:53:57 -07:00
Jill Rouleau
d49bd27fae Revert "sysctl: Fixed sysctl to work on symlinks(#111)"
This reverts commit 34b467719e.
2024-05-07 16:53:57 -07:00
satken2
9064ff7eb2 sysctl: Fixed sysctl to work on symlinks(#111) 2024-05-07 16:53:57 -07:00
satken2
a842e5f96a sysctl: Fixed sysctl to work on symlinks(#111) 2024-05-07 16:53:57 -07:00
satken2
97dcdee670 sysctl: Fixed sysctl to work on symlinks(#111) 2024-05-07 16:53:57 -07:00
satken2
55ea4ba1de sysctl: Fixed sysctl to work on symlinks(#111) 2024-05-07 16:53:57 -07:00
Adam Miller
a85f736f6a refactor to comply with current ansible-lint and sanity guidelines
Signed-off-by: Adam Miller <admiller@redhat.com>
2023-12-06 17:22:59 -06:00
Adam Miller
07f1e11015 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>
2023-05-05 11:59:04 -05:00
Hideki Saito
8f58cbb41c Fix integration test error on ansible devel branch
- Remove centos6 platforms for integration tests on
  the ansible devel branch from the azure-pipelines.
- Add delegate_to to each task of integration test for
  synchronized module on devel branch
- Modify invalid parameter test to use key instead of name
  for sysctl module
- Replace lookup plugin to slurp module in integration tests
  for selinux module
- Add creating working directory task in integration tests
  for acl module

Signed-off-by: Hideki Saito <saito@fgrep.org>
2021-10-04 17:10:20 +09:00
mandar242
244c9b2066 sysctl: Fix integration test virtualization type 2021-08-04 21:52:50 +05:30
Martin Schurz
5935dce47f do not persist sysctl when value is invalid
the order of actions for setting, persisting and activation is changed,
to not persist an invalid sysctl value. This is only enforced when
sysct_set is True.
2020-10-02 23:03:14 +02:00
Ansible Core Team
6f928621f0 Initial commit 2020-03-09 13:15:28 +00:00