Skip to content
Open
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
18 changes: 18 additions & 0 deletions Ansible/roles/kvm/tasks/centos8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,24 @@
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
tags:
- kvm
ignore_errors: yes

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

- name: install python-argparse
pip:
name: argparse
Expand Down
19 changes: 19 additions & 0 deletions Ansible/roles/kvm/tasks/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,25 @@
- 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
ignore_errors: yes

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

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

Expand Down
18 changes: 18 additions & 0 deletions Ansible/roles/kvm/tasks/el9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,24 @@
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
tags:
- kvm
ignore_errors: yes

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

- name: install python-argparse
pip:
name: argparse
Expand Down
19 changes: 19 additions & 0 deletions Ansible/roles/kvm/tasks/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,25 @@
- 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
ignore_errors: yes

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

- name: Install packages for UEFI
apt:
pkg: "{{ item }}"
Expand Down
4 changes: 2 additions & 2 deletions Ansible/roles/marvin/tasks/install_marvin_prereqs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
- pip
- six
- pyOpenSSL
- paramiko
- paramiko==4.0.0
- wheel==0.45.1
- kubernetes
- pyasn1
Expand All @@ -102,7 +102,7 @@
- pycparser
- mysql-connector-python==8.0.30
- netaddr
- pyvmomi
- pyvmomi==9.0.0.0
tags:
- marvin
- marvin_install
Expand Down