Restructure repository, removing old stuff
This commit is contained in:
12
_legacy/roles/ldap_host/tasks/main.yml
Normal file
12
_legacy/roles/ldap_host/tasks/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: Install required packages
|
||||
when: ansible_distribution == "Fedora" or (ansible_distribution == "CentOS" and ansible_distribution_major_version == "8")
|
||||
become: true
|
||||
dnf:
|
||||
state: latest
|
||||
name:
|
||||
- openldap-servers
|
||||
- openldap-clients
|
||||
- nss-pam-ldapd
|
||||
|
||||
- name: Configure
|
36
_legacy/roles/ovirt/tasks/install.yml
Normal file
36
_legacy/roles/ovirt/tasks/install.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
- name: Install Ovirt on CentOS 8
|
||||
become: true
|
||||
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "8"
|
||||
block:
|
||||
- name: Install Ovirt repository
|
||||
dnf:
|
||||
state: latest
|
||||
name: http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm
|
||||
- name: Update using the new repository
|
||||
dnf:
|
||||
state: latest
|
||||
name: "*"
|
||||
exclude: kernel*
|
||||
- name: Install Ovirt
|
||||
dnf:
|
||||
state: latest
|
||||
name: ovirt-engine
|
||||
|
||||
- name: Install Ovrit on CentOS 7
|
||||
become: true
|
||||
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
|
||||
block:
|
||||
- name: Install Ovirt repository
|
||||
yum:
|
||||
state: latest
|
||||
name: http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm
|
||||
- name: Update using the new repository
|
||||
yum:
|
||||
state: latest
|
||||
name: "*"
|
||||
exclude: kernel*
|
||||
- name: Install Ovirt
|
||||
yum:
|
||||
state: latest
|
||||
name: ovirt-engine
|
Reference in New Issue
Block a user