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.
2016-09-01 04:26:23 -07:00
..
__init__.py package files 2014-09-26 11:05:47 -04:00
authorized_key.py Fix minor syntax error in authorized_key module doc (#4491) 2016-08-27 16:52:03 +02:00
cron.py Fixes #3791 cron always returning changed state for multiline jobs (#4285) 2016-08-10 23:43:58 +02:00
group.py Fix incorrect variable in group.py: user -> group 2015-10-03 01:09:03 +01:00
hostname.py Convert command output to native string (#4559) 2016-08-27 15:53:13 +02:00
mount.py Port mount.py to python3, need to use six.iteritems (#4581) 2016-08-31 08:16:35 -07:00
ping.py Port to dual python2/python3 compat 2016-05-10 21:58:49 -07:00
seboolean.py Add support for selinux_boolean_sub conversion (#4570) 2016-09-01 04:26:23 -07:00
selinux.py Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
service.py fixes corner case for systemd services 2016-08-11 09:24:42 -04:00
setup.py add gather_timeout parameter (#4093) 2016-07-08 17:22:05 -04:00
sysctl.py Showing some of the sysctl settings in proper yaml format per Ansible documentation (#4073) 2016-06-30 19:27:41 -04:00
systemd.py Fix traceback on python3 (#4556) 2016-08-31 07:49:45 -07:00
user.py Fix user module under python3 (#4560) 2016-08-31 07:52:46 -07:00