1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

correct selinux for non-redhat installs

This commit is contained in:
Jerry Vonau 2017-09-25 11:17:52 -05:00
parent 965b134e88
commit a9df337ac5

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