More ansible core 2.20 fixes

Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
2026-05-05 15:07:58 -05:00
parent 4fed9b890a
commit b1dc671bfb
3 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -6,14 +6,14 @@
ansible.builtin.service_facts: ansible.builtin.service_facts:
- name: 'ensure_sudo.service_reload' - name: 'ensure_sudo.service_reload'
when: when:
- ansible_system == 'Linux' - ansible_facts["system"] == 'Linux'
- ansible_service_mgr == 'systemd' - ansible_service_mgr == 'systemd'
- ensure_sudo is defined - ensure_sudo is defined
ansible.builtin.systemd: ansible.builtin.systemd:
daemon_reload: 'yes' daemon_reload: 'yes'
- name: 'ensure_sudo.service_restart' - name: 'ensure_sudo.service_restart'
when: when:
- ansible_system == 'Linux' - ansible_facts["system"] == 'Linux'
- ensure_sudo is defined - ensure_sudo is defined
- ensure_sudo.service_list is defined - ensure_sudo.service_list is defined
- ensure_sudo.service_list is iterable - ensure_sudo.service_list is iterable
+5 -5
View File
@@ -43,10 +43,10 @@
# Path intercept /path/to/sudo_intercept.so # Path intercept /path/to/sudo_intercept.so
# #
# Path to a shared library containing replacements for the execv(), # Path to a shared library containing replacements for the execv(),
# execve() and fexecve() library functions that perform a policy check # execve() and fexecve() library functions, which perform a policy
# to verify the command is allowed and simply return an error if not. # check to verify whether the command is allowed and simply return
# This is used to implement the "intercept" functionality on systems that # an error if it is not. This is used to implement the "intercept"
# support LD_PRELOAD or its equivalent. # functionality on systems that support LD_PRELOAD or its equivalent.
# #
# The compiled-in value is usually sufficient and should only be changed # The compiled-in value is usually sufficient and should only be changed
# if you rename or move the sudo_intercept.so file. # if you rename or move the sudo_intercept.so file.
@@ -72,7 +72,7 @@
# Path plugin_dir /path/to/plugins # Path plugin_dir /path/to/plugins
# #
# The default directory to use when searching for plugins that are # The default directory to use when searching for plugins that are
# specified without a fully qualified path name. # specified without a fully-qualified path name.
# #
#Path plugin_dir /usr/libexec/sudo #Path plugin_dir /usr/libexec/sudo
+5 -5
View File
@@ -43,10 +43,10 @@
# Path intercept /path/to/sudo_intercept.so # Path intercept /path/to/sudo_intercept.so
# #
# Path to a shared library containing replacements for the execv(), # Path to a shared library containing replacements for the execv(),
# execve() and fexecve() library functions that perform a policy check # execve() and fexecve() library functions, which perform a policy
# to verify the command is allowed and simply return an error if not. # check to verify whether the command is allowed and simply return
# This is used to implement the "intercept" functionality on systems that # an error if it is not. This is used to implement the "intercept"
# support LD_PRELOAD or its equivalent. # functionality on systems that support LD_PRELOAD or its equivalent.
# #
# The compiled-in value is usually sufficient and should only be changed # The compiled-in value is usually sufficient and should only be changed
# if you rename or move the sudo_intercept.so file. # if you rename or move the sudo_intercept.so file.
@@ -72,7 +72,7 @@
# Path plugin_dir /path/to/plugins # Path plugin_dir /path/to/plugins
# #
# The default directory to use when searching for plugins that are # The default directory to use when searching for plugins that are
# specified without a fully qualified path name. # specified without a fully-qualified path name.
# #
#Path plugin_dir /usr/libexec/sudo #Path plugin_dir /usr/libexec/sudo