In Upstream and rdo-cloud tripleo ci jobs on RHEL & CentOS, we
use selinux mode to permissive but currently it is harded for
CentOS only.
In Downstream jobs, we use enforcing mode. So instead of depending
upon ansible_distribution, we can rely on osp_release to toggle
selinux mode and will work for both centOS and RHEL.
Reviewed: https:/ /review. opendev. org/699170 /git.openstack. org/cgit/ openstack/ tripleo- quickstart- extras/ commit/ ?id=17282f8d60c 2bc3e2336b473b6 9b5046fa8a8b29
Committed: https:/
Submitter: Zuul
Branch: master
commit 17282f8d60c2bc3 e2336b473b69b50 46fa8a8b29
Author: Chandan Kumar (raukadah) <email address hidden>
Date: Mon Dec 16 14:05:38 2019 +0530
Use osp_release flag to set selinux mode
In Upstream and rdo-cloud tripleo ci jobs on RHEL & CentOS, we
use selinux mode to permissive but currently it is harded for
CentOS only.
In Downstream jobs, we use enforcing mode. So instead of depending distribution, we can rely on osp_release to toggle
upon ansible_
selinux mode and will work for both centOS and RHEL.
Related-Bug: 1853028
Change-Id: I6a6449777ea281 98002b8c028a345 ab16b733901
Signed-off-by: Chandan Kumar (raukadah) <email address hidden>