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:
parent
965b134e88
commit
a9df337ac5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue