From 7d06aafcce2fbb927918f8924e856abcfdbd5b5b Mon Sep 17 00:00:00 2001 From: A Holt Date: Fri, 27 Nov 2020 08:10:42 -0500 Subject: [PATCH] Work around SELinux for now, to avoid Ansible Collection fail --- roles/1-prep/tasks/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/roles/1-prep/tasks/main.yml b/roles/1-prep/tasks/main.yml index f9012c00c..bb499df5c 100644 --- a/roles/1-prep/tasks/main.yml +++ b/roles/1-prep/tasks/main.yml @@ -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