You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/system
Michael Scherer 5f652c7584 Add support for selinux_boolean_sub conversion (#4570)
SELinux since 2012 use a configuration file to
convert boolean names from a old name to a new name,
for preserving backward compatibility.

However, this has to be done explicitely when using the python
bindings, and the module was not doing it.

Openshift ansible script use this construct to detect if
a boolean exist or not:

    - name: Check for existence of virt_sandbox_use_nfs seboolean
      command: getsebool virt_sandbox_use_nfs
      register: virt_sandbox_use_nfs_output
      failed_when: false
      changed_when: false

    - name: Set seboolean to allow nfs storage plugin access from containers(sandbox)
      seboolean:
        name: virt_sandbox_use_nfs
        state: yes
        persistent: yes
      when: virt_sandbox_use_nfs_output.rc == 0

On a system where virt_sandbox_use_nfs do not exist, this work. But
on a system where virt_sandbox_use_nfs is a alias to virt_use_nfs (like
Fedora 24), this fail because the seboolean is not aware of the alias.
8 years ago
..
__init__.py package files 10 years ago
authorized_key.py Fix minor syntax error in authorized_key module doc (#4491) 8 years ago
cron.py Fixes #3791 cron always returning changed state for multiline jobs (#4285) 8 years ago
group.py Fix incorrect variable in group.py: user -> group 9 years ago
hostname.py Convert command output to native string (#4559) 8 years ago
mount.py Port mount.py to python3, need to use six.iteritems (#4581) 8 years ago
ping.py Port to dual python2/python3 compat 8 years ago
seboolean.py Add support for selinux_boolean_sub conversion (#4570) 8 years ago
selinux.py Proper author info for all remaining modules 9 years ago
service.py fixes corner case for systemd services 8 years ago
setup.py add gather_timeout parameter (#4093) 8 years ago
sysctl.py Showing some of the sysctl settings in proper yaml format per Ansible documentation (#4073) 8 years ago
systemd.py Fix traceback on python3 (#4556) 8 years ago
user.py Fix user module under python3 (#4560) 8 years ago