Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Ansible/roles/cloudstack-manager/tasks/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@
apt:
update_cache: yes

- name: Install python3-mysql.connector DEB package for cloudstack-management as the real package name is mysql-connector-python-py3
shell: 'wget http://launchpadlibrarian.net/717081070/python3-mysql.connector_8.0.15-4_all.deb -O /tmp/python3-mysql.connector_8.0.15-4_all.deb && DEBIAN_FRONTEND=noninteractive apt install -y /tmp/python3-mysql.connector_8.0.15-4_all.deb'

- name: get CloudStack package version (for example, 4.20.2.0-shapeblue0)
shell: |
set -o pipefail
Expand Down
19 changes: 19 additions & 0 deletions Ansible/roles/kvm/tasks/centos8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,25 @@
tags:
- kvm

- name: Install utilities and tools for Linux network namespace
dnf: name={{ item }} state=present enablerepo=base
with_items:
- iproute
- iptables
- iputils
- dnsmasq
- haproxy
- httpd
- util-linux
- radvd
tags:
- kvm
ignore_errors: yes

- name: Stop dnsmasq and haproxy and httpd and radvd services
shell: systemctl stop dnsmasq haproxy httpd radvd && systemctl disable dnsmasq haproxy httpd radvd
ignore_errors: yes

- name: install python-argparse
pip:
name: argparse
Expand Down
20 changes: 20 additions & 0 deletions Ansible/roles/kvm/tasks/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,26 @@
- ovmf
- swtpm

- name: Install utilities and tools for Linux network namespace
apt:
pkg: "{{ item }}"
state: latest
update_cache: yes
with_items:
- iproute2
- iptables
- arping
- dnsmasq
- haproxy
- apache2
- util-linux
- radvd
ignore_errors: yes

- name: Stop dnsmasq and haproxy and apache2 and radvd services
shell: systemctl stop dnsmasq haproxy apache2 radvd && systemctl disable dnsmasq haproxy apache2 radvd
ignore_errors: yes

- set_fact: java_ver="{{ kvm_java_ver }}"
- set_fact: java_path="{{ kvm_java_path }}"

Expand Down
19 changes: 19 additions & 0 deletions Ansible/roles/kvm/tasks/el9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,25 @@
tags:
- kvm

- name: Install utilities and tools for Linux network namespace
dnf: name={{ item }} state=present enablerepo=base
with_items:
- iproute
- iptables
- iputils
- dnsmasq
- haproxy
- httpd
- util-linux
- radvd
tags:
- kvm
ignore_errors: yes

- name: Stop dnsmasq and haproxy and httpd and radvd services
shell: systemctl stop dnsmasq haproxy httpd radvd && systemctl disable dnsmasq haproxy httpd radvd
ignore_errors: yes

- name: install python-argparse
pip:
name: argparse
Expand Down
20 changes: 20 additions & 0 deletions Ansible/roles/kvm/tasks/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,26 @@
- qemu-kvm
- parted

- name: Install utilities and tools for Linux network namespace
apt:
pkg: "{{ item }}"
state: latest
update_cache: yes
with_items:
- iproute2
- iptables
- arping
- dnsmasq
- haproxy
- apache2
- util-linux
- radvd
ignore_errors: yes

- name: Stop dnsmasq and haproxy and apache2 and radvd services
shell: systemctl stop dnsmasq haproxy apache2 radvd && systemctl disable dnsmasq haproxy apache2 radvd
ignore_errors: yes

- name: Install packages for UEFI
apt:
pkg: "{{ item }}"
Expand Down