1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Merge pull request #310 from jvonau/selinux

smoke testing - correct selinux for non-redhat installs
This commit is contained in:
A Holt 2017-09-25 13:48:58 -04:00 committed by GitHub
commit faa3dcd534

View file

@ -69,11 +69,11 @@
- name: Disable selinux on next boot
selinux: state=disabled
register: selinux_disabled
when: first_run
when: first_run and not is_debuntu
- name: Disable selinux for this session (if needed)
command: setenforce Permissive
when: selinux_disabled is defined and selinux_disabled.changed
when: not is_debuntu and selinux_disabled is defined and selinux_disabled.changed
## DISCOVER PLATFORMS ######
- name: Discover if this is a rpi -- assume if so it is running raspbian