1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible
Sam Doran 00df1fda10 Correctly write SELinux config file (#31251)
* Add new lines to end of config file lines

* Properly write out selinux config file

Change module behavior to not always report a change but warn if a reboot is needed and return reboot_required.

Improve the output messages.

Add strip parameter to get_file_lines utility to help with parsing the selinux config file.

* Add return documentation

* Add integration tests for selinux module

* Use consistent capitalization for SELinux

* Use atomic_move in selinux module

* Don't copy the config file initially

There's no need to make a copy just for reading.

* Put message after set_config_policy in case the change fails

* Add aliases to selinux tests
2017-10-03 23:38:58 -04:00
..
cli Handle vault decrypt --output=- (#31066) 2017-10-03 12:02:16 -04:00
compat Remove wildcard imports 2017-07-28 22:10:17 -07:00
config make pipelining actually backwards compatible 2017-10-03 14:35:05 -04:00
errors report extra info in verbose and if needed 2017-10-03 16:48:21 -04:00
executor fixed winrm to use proper task vars (#31072) 2017-09-29 11:12:56 +10:00
galaxy Removes container-enabled warning (#27578) 2017-08-01 12:51:03 -04:00
inventory set _hosts on access if None (#31111) 2017-10-03 08:59:05 -07:00
module_utils Correctly write SELinux config file (#31251) 2017-10-03 23:38:58 -04:00
modules Correctly write SELinux config file (#31251) 2017-10-03 23:38:58 -04:00
parsing Use vault_id when encrypted via vault-edit (#30772) 2017-09-26 12:28:31 -04:00
playbook avoid include_Xs conflating vars with options (#30954) 2017-09-27 19:53:10 -04:00
plugins win_become: move error handling to Ansible outside of shell (#31227) 2017-10-03 21:42:27 -04:00
template Fix dangerous default args. (#29839) 2017-09-12 00:11:13 -07:00
utils ansible_tower: fix broken import, reuse tower_argument_spec and documentation fragment (#29115) 2017-10-02 16:21:24 -04:00
vars remove fact namespacing 2017-09-10 17:37:52 -04:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py Fix backwards compatibility of constants.get_config 2017-10-03 09:19:04 -04:00
release.py Bump the versions now that devel is 2.5 2017-09-06 13:13:57 -07:00