mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-07 14:03:01 +07:00
Remove old Ansible code
This commit is contained in:
parent
319d2095fa
commit
5c223f6269
@ -1,5 +0,0 @@
|
||||
---
|
||||
- hosts: all
|
||||
become: yes
|
||||
roles:
|
||||
- { role: openstack }
|
@ -1,10 +0,0 @@
|
||||
---
|
||||
opennebula_packages:
|
||||
- opennebula # Command Line Interface
|
||||
- opennebula-flow # OneFlow manages services and elasticity
|
||||
- opennebula-gate # OneGate server that enables communication between VMs and OpenNebula
|
||||
- opennebula-node-firecracker # Dependencies and configurations for Firecracker hypervisor node
|
||||
- opennebula-node-kvm # Dependencies and configurations for KVM hypervisor node
|
||||
- opennebula-rubygems # Bundled Ruby gem dependencies
|
||||
- opennebula-server # OpenNebula Daemon and Scheduler
|
||||
- opennebula-sunstone # The GUI and the EC2 API
|
@ -1,29 +0,0 @@
|
||||
---
|
||||
- name: Add OpenNebula repository
|
||||
yum_repository:
|
||||
name: opennebula
|
||||
description: OpenNebula Community Edition
|
||||
baseurl: https://downloads.opennebula.io/repo/5.12/CentOS/8/$basearch
|
||||
gpgkey: https://downloads.opennebula.io/repo/repo.key
|
||||
gpgcheck: yes
|
||||
repo_gpgcheck: yes
|
||||
|
||||
- name: Enable EPEL repository
|
||||
yum:
|
||||
name: epel-release
|
||||
state: present
|
||||
|
||||
- name: Install OpenNebula
|
||||
yum:
|
||||
name: "{{ opennebula_packages }}"
|
||||
state: present
|
||||
|
||||
- name: Start services
|
||||
service:
|
||||
name: "{{ item }}"
|
||||
enabled: yes
|
||||
state: started
|
||||
with_items:
|
||||
- libvirtd
|
||||
- opennebula
|
||||
- opennebula-sunstone
|
@ -1,22 +0,0 @@
|
||||
---
|
||||
# TODO https://github.com/ansible/ansible/issues/64852
|
||||
- name: Enable PowerTools repository
|
||||
command: dnf config-manager --enable PowerTools
|
||||
|
||||
- name: Enable OpenStack repository
|
||||
dnf:
|
||||
name: centos-release-openstack-ussuri
|
||||
state: present
|
||||
|
||||
- name: Install PackStack
|
||||
dnf:
|
||||
name: openstack-packstack
|
||||
state: present
|
||||
|
||||
- name: Upgrade all packages
|
||||
dnf:
|
||||
name: "*"
|
||||
state: latest
|
||||
|
||||
- name: Run PackStack to install OpenStack
|
||||
command: packstack --allinone
|
Loading…
Reference in New Issue
Block a user