Set SELinux permissive to allow DNS to work

This commit is contained in:
Eric Paris 2015-06-23 19:24:38 -04:00
parent 8cf36d7402
commit 97b88fa563

View File

@ -1,4 +1,13 @@
--- ---
- name: Check if selinux enforcing
command: getenforce
register: selinux
changed_when: false
- name: Set selinux permissive because tokens and selinux don't work together
selinux: state=permissive policy=targeted
when: "'Enforcing' in selinux.stdout"
- include: generic-install.yml - include: generic-install.yml
when: not is_atomic and not ansible_distribution == "CentOS" when: not is_atomic and not ansible_distribution == "CentOS"