Merge branch 'master' into pedantic-syntax-cleanup

This commit is contained in:
Matthew Mosesohn
2017-02-20 20:19:38 +03:00
committed by GitHub
10 changed files with 170 additions and 39 deletions

View File

@@ -131,11 +131,17 @@
tags: bootstrap-os
# Todo : selinux configuration
- name: Confirm selinux deployed
stat:
path: /etc/selinux/config
when: ansible_os_family == "RedHat"
register: slc
- name: Set selinux policy to permissive
selinux:
policy: targeted
state: permissive
when: ansible_os_family == "RedHat"
when: ansible_os_family == "RedHat" and slc.stat.exists == True
changed_when: False
tags: bootstrap-os