Move all shared into this new repo
This commit is contained in:
3
virt/opennebula-5.8-kvm-node/handlers/main.yml
Normal file
3
virt/opennebula-5.8-kvm-node/handlers/main.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
- name: restart libvirtd
|
||||
service: name=libvirtd state=restarted
|
||||
16
virt/opennebula-5.8-kvm-node/tasks/main.yml
Normal file
16
virt/opennebula-5.8-kvm-node/tasks/main.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
- name: Adding Debian 9 OpenNebula GPG key
|
||||
apt_key: url='https://downloads.opennebula.org/repo/repo.key' state=present
|
||||
when: ansible_os_family == "Debian" and ansible_distribution_major_version == "9"
|
||||
|
||||
- name: Adding Debian 9 OpenNebula repository
|
||||
apt_repository: repo='deb https://downloads.opennebula.org/repo/5.8/Debian/9 stable opennebula' state=present
|
||||
when: ansible_os_family == "Debian" and ansible_distribution_major_version == "9"
|
||||
|
||||
# Install OpenNebula
|
||||
- name: Installing OpenNebula controller applications
|
||||
apt:
|
||||
update_cache: yes
|
||||
state: present
|
||||
name: opennebula-node
|
||||
notify: restart libvirtd
|
||||
Reference in New Issue
Block a user