From 7d06aafcce2fbb927918f8924e856abcfdbd5b5b Mon Sep 17 00:00:00 2001 From: A Holt Date: Fri, 27 Nov 2020 08:10:42 -0500 Subject: [PATCH 1/2] 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 From 15dffe7ac5311893640cb8c414385c5d4a404e2d Mon Sep 17 00:00:00 2001 From: A Holt Date: Fri, 27 Nov 2020 08:16:01 -0500 Subject: [PATCH 2/2] #ansible-galaxy collection install ansible.posix --- scripts/ansible | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ansible b/scripts/ansible index 6938e5468..d423a984e 100755 --- a/scripts/ansible +++ b/scripts/ansible @@ -94,6 +94,7 @@ $APT_PATH/apt -y --allow-downgrades install ansible-base \ echo -e "\n\nIIAB requires these 2 Ansible Collections: (w/ ansible-base 2.10.0 or higher)\n" ansible-galaxy collection install community.general # Re-running these ansible-galaxy collection install community.mysql # appears to be safe!? +#ansible-galaxy collection install ansible.posix # 2020-11-27: See roles/1-prep/tasks/main.yml & PR #2647 echo -e "\n\nCreating/verifying directory /etc/ansible & installing /etc/ansible/hosts\n" mkdir -p /etc/ansible