From 6f97b5dad78c702c0c3a5654d78074bf661ced92 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 8 Dec 2017 11:28:16 +0000 Subject: [PATCH] SELinux prevents login on Koschei Fedora 27 machines --- roles/koschei/common/tasks/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/roles/koschei/common/tasks/main.yml b/roles/koschei/common/tasks/main.yml index af8988e54d..a9d7cdc82d 100644 --- a/roles/koschei/common/tasks/main.yml +++ b/roles/koschei/common/tasks/main.yml @@ -1,4 +1,14 @@ --- +# FIXME workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1513704 +# See also: https://pagure.io/fedora-infrastructure/issue/6540 +- name: Put SELinux in permissive mode + selinux: state=permissive policy=targeted + when: ansible_distribution_major_version|int > 26 + tags: + - koschei + - config + - selinux + - name: Add koschei copr dev repo on stg when: env == "staging" template: src=copr.repo.j2 dest=/etc/yum.repos.d/copr.repo