Files
configpolicy/roles
Dustin C. Hatch bc4c7edbad r/base: Clear facts after installing python-selinux
If the Python bindings for SELinux policy management are not installed
when Ansible gathers host facts, no SELinux-related facts will be set.
Thus, any tasks that are conditional based on these facts will not run.
Typically, such tasks are required for SELinux-enabled hosts, but must
not be performed for non-SELinux hosts.  If they are not run when they
should, the deployment may fail or applications may experience issues at
runtime.

To avoid these potential issues, the *base* role now forces Ansible to
gather facts again if it installed the Python SELinux bindings.

Note: one might suggest using `meta: clear_facts` instead of `setup` and
letting Ansible decide if and when to gather facts again. Unfortunately,
this for some reason doesn't work; the `clear_facts` meta task just
causes Ansible to crash with a "shared connection to {host} closed."
2022-12-23 08:44:30 -06:00
..
2018-08-08 21:38:56 -05:00
2020-03-09 20:29:52 -05:00
2018-07-23 17:35:10 -05:00
2018-04-08 10:11:43 -05:00
2021-10-31 14:25:59 -05:00
2022-08-15 17:12:35 -05:00
2022-12-22 18:55:07 -06:00
2022-12-23 06:56:52 -06:00
2018-06-06 21:44:28 -05:00
2022-08-15 17:06:20 -05:00
2022-08-10 22:18:43 -05:00
2022-08-20 21:15:31 -05:00
2021-11-06 18:12:29 -05:00