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

Work around SELinux for now, to avoid Ansible Collection fail

This commit is contained in:
A Holt 2020-11-27 08:10:42 -05:00 committed by GitHub
parent 51e5dee408
commit 7d06aafcce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,15 +105,15 @@
when: is_ubuntu
ignore_errors: True
- name: Disable SELinux on next boot (OS's other than debuntu)
selinux:
state: disabled
register: selinux_disabled
when: not is_debuntu
#- name: Disable SELinux on next boot (OS's other than debuntu)
# selinux:
# state: disabled
# register: selinux_disabled
# when: not is_debuntu
- name: Disable SELinux for this session (OS's other than debuntu, if needed)
command: setenforce Permissive
when: not is_debuntu and selinux_disabled is defined and selinux_disabled.changed
#- name: Disable SELinux for this session (OS's other than debuntu, if needed)
# command: setenforce Permissive
# when: not is_debuntu and selinux_disabled is defined and selinux_disabled.changed
## DISCOVER PLATFORMS ######
# Put conditional actions for hardware platforms here