diff --git a/README.md b/README.md index 80e729a..6761b41 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,13 @@ echo ansibleuser:$passwd_value | chpasswd echo "ansibleuser ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/ansible ``` +## Beware of SELinux + +cat /etc/selinux/config | sed s/"$SELINUX=enforcing"/"SELINUX=disabled"/g > /etc/selinux/config_xxx +\cp /etc/selinux/config_xxx /etc/selinux/config +\rm /etc/selinux/config_xxx +reboot + # How to make the server ready Once: