mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fixed check_mode status to be the same as normal execution (#40721)
* Fixed check_mode status to be the same as normal execution * Now when setting the status to `disabled` in check_mode it correctly returns the state changed and prints a warning like it does in normal model. Before it always returned changed even if everything was set correctly and a reboot was required. * Add changelog entry Co-authored by: Strahinja Kustudic <kustodian@gmail.com>
This commit is contained in:
committed by
Sam Doran
parent
f2d4912f29
commit
0781a7f68c
2
changelogs/fragments/selinux-check-mode.yaml
Normal file
2
changelogs/fragments/selinux-check-mode.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- selinux - correct check mode behavior to report same changes as normal mode (https://github.com/ansible/ansible/pull/40721)
|
||||
Reference in New Issue
Block a user