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:
commit
faa3dcd534
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…
Reference in a new issue