kubespray/roles/kubernetes/preinstall
Abel Lopez 0bfc2d0f2f
Safe disable SELinux
Sometimes, a sysadmin might outright delete the SELinux rpms and
delete the configuration. This causes the selinux module to fail
with
```
IOError: [Errno 2] No such file or directory: '/etc/selinux/config'\n",
"module_stdout": "", "msg": "MODULE FAILURE"}
```

This simply checks that /etc/selinux/config exists before we try
to set it Permissive.

Update from feedback
2017-02-18 11:54:25 -08:00
..
defaults Vault security hardening and role isolation 2017-02-08 21:41:36 +00:00
files Preconfigure DNS stack and docker early 2016-12-09 17:30:55 +01:00
handlers Better fix for different CoreOS os family facts 2017-01-05 16:32:08 +01:00
meta Revert "Drop linux capabilities and rework users/groups" 2017-02-06 15:58:54 +03:00
tasks Safe disable SELinux 2017-02-18 11:54:25 -08:00
templates Fix resolvconf 2016-12-13 15:48:53 +01:00
vars add aufs-tools package for debian 2016-03-21 17:25:14 +01:00
gen-gitinfos.sh Fix gen-gitinfos.sh 2016-08-23 10:15:30 +02:00