mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 18:41:38 +08:00
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org> Signed-off-by: Adam Miller <admiller@redhat.com>
24 lines
486 B
YAML
24 lines
486 B
YAML
---
|
|
- name: Install python-six package
|
|
package:
|
|
name: python-six
|
|
state: present
|
|
|
|
- name: Install libselinux-python package
|
|
package:
|
|
name: libselinux-python
|
|
state: present
|
|
|
|
- name: Configure SELinux
|
|
selinux:
|
|
state: enforcing
|
|
policy: targeted
|
|
|
|
- name: enable/disable sebools
|
|
seboolean:
|
|
name: "{{ item.name }}"
|
|
state: "{{ item.state }}"
|
|
persistent: "{{ item.persistent }}"
|
|
with_items: "{{ openshift_sebools }}"
|
|
when: openshift_sebools != ""
|