Remove obsolete openshift-prerequisites role
This ceased to be used in 2017, see commit
d71a039927
.
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
b43dc50cf4
commit
4ee1e5238f
4 changed files with 0 additions and 84 deletions
|
@ -1,34 +0,0 @@
|
||||||
OpenShift prerequisites Role
|
|
||||||
============================
|
|
||||||
|
|
||||||
An Ansible role to manage prerequisites for OSE installation.
|
|
||||||
It performs the following operations:
|
|
||||||
|
|
||||||
* Sets necessary sebools for GlusterFS and NFS.
|
|
||||||
https://docs.openshift.com/container-platform/3.3/install_config/install/prerequisites.html#prereq-selinux
|
|
||||||
* Installs python-six package
|
|
||||||
https://github.com/openshift/openshift-ansible/issues/3020
|
|
||||||
|
|
||||||
|
|
||||||
Role Variables Example
|
|
||||||
----------------------
|
|
||||||
|
|
||||||
# Set up sebools
|
|
||||||
openshift_sebools:
|
|
||||||
- name: virt_sandbox_use_fusefs
|
|
||||||
state: yes
|
|
||||||
persistent: yes
|
|
||||||
|
|
||||||
|
|
||||||
Example Playbook
|
|
||||||
----------------
|
|
||||||
|
|
||||||
- hosts: all
|
|
||||||
roles:
|
|
||||||
- openshift-prerequisites
|
|
||||||
|
|
||||||
|
|
||||||
Dependencies
|
|
||||||
------------
|
|
||||||
|
|
||||||
None.
|
|
|
@ -1,14 +0,0 @@
|
||||||
---
|
|
||||||
# SELinux booleans
|
|
||||||
openshift_sebools:
|
|
||||||
# https://docs.openshift.com/container-platform/3.3/install_config/persistent_storage/persistent_storage_glusterfs.html#selinux
|
|
||||||
- name: virt_sandbox_use_fusefs
|
|
||||||
state: yes
|
|
||||||
persistent: yes
|
|
||||||
# https://docs.openshift.com/container-platform/3.3/install_config/persistent_storage/persistent_storage_nfs.html#nfs-selinux
|
|
||||||
- name: virt_use_nfs
|
|
||||||
state: yes
|
|
||||||
persistent: yes
|
|
||||||
- name: virt_sandbox_use_nfs
|
|
||||||
state: yes
|
|
||||||
persistent: yes
|
|
|
@ -1,13 +0,0 @@
|
||||||
# Standards: 1.6
|
|
||||||
---
|
|
||||||
galaxy_info:
|
|
||||||
author: Andrej Golis
|
|
||||||
description: Set up prerequisites for OSE installation
|
|
||||||
company: Red Hat, Inc.
|
|
||||||
license: BSD
|
|
||||||
min_ansible_version: 2.1
|
|
||||||
platforms:
|
|
||||||
- name: EL
|
|
||||||
versions:
|
|
||||||
- 7
|
|
||||||
dependencies: []
|
|
|
@ -1,23 +0,0 @@
|
||||||
---
|
|
||||||
- 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 != ""
|
|
Loading…
Add table
Add a link
Reference in a new issue