Skip to content

Commit d587460

Browse files
committed
Move libselinux-python3 to nginx role
1 parent ddbded5 commit d587460

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
selinux_dependencies:
22
- libsemanage-python
33
- libselinux-python
4+
- libselinux-python3

roles/StackStorm.st2/tasks/main.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
11
---
2-
- name: Install python3 SELinux policies
3-
become: yes
4-
yum:
5-
name: libselinux-python3
6-
state: present
7-
register: _task
8-
retries: 5
9-
delay: 3
10-
until: _task is succeeded
11-
when: ansible_facts.os_family == 'RedHat' and ansible_facts.distribution_major_version == '7' and ansible_selinux.status == "enabled" and ansible_selinux.mode == "enforcing"
12-
tags: st2
13-
142
- name: Verify python3-devel is available in enabled repo
153
become: yes
164
shell:

0 commit comments

Comments
 (0)