Remove old Ansible code

This commit is contained in:
Khue Doan 2020-10-28 19:04:43 +07:00
parent 319d2095fa
commit 5c223f6269
4 changed files with 0 additions and 66 deletions

View File

@ -1,5 +0,0 @@
---
- hosts: all
become: yes
roles:
- { role: openstack }

View File

@ -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

View File

@ -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

View File

@ -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