diff --git a/Ansible/roles/kvm/tasks/centos8.yml b/Ansible/roles/kvm/tasks/centos8.yml index 1d7941555c..b14a2ac5ea 100644 --- a/Ansible/roles/kvm/tasks/centos8.yml +++ b/Ansible/roles/kvm/tasks/centos8.yml @@ -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 diff --git a/Ansible/roles/kvm/tasks/debian.yml b/Ansible/roles/kvm/tasks/debian.yml index f85bebf205..46f47d1638 100644 --- a/Ansible/roles/kvm/tasks/debian.yml +++ b/Ansible/roles/kvm/tasks/debian.yml @@ -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 }}" diff --git a/Ansible/roles/kvm/tasks/el9.yml b/Ansible/roles/kvm/tasks/el9.yml index 72e1282948..1b1653e450 100644 --- a/Ansible/roles/kvm/tasks/el9.yml +++ b/Ansible/roles/kvm/tasks/el9.yml @@ -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 diff --git a/Ansible/roles/kvm/tasks/ubuntu.yml b/Ansible/roles/kvm/tasks/ubuntu.yml index 3ebc66c3b0..8a95bebcbd 100644 --- a/Ansible/roles/kvm/tasks/ubuntu.yml +++ b/Ansible/roles/kvm/tasks/ubuntu.yml @@ -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 }}" diff --git a/Ansible/roles/marvin/tasks/install_marvin_prereqs.yml b/Ansible/roles/marvin/tasks/install_marvin_prereqs.yml index 4d6e641c6c..8ad0d873c6 100644 --- a/Ansible/roles/marvin/tasks/install_marvin_prereqs.yml +++ b/Ansible/roles/marvin/tasks/install_marvin_prereqs.yml @@ -92,7 +92,7 @@ - pip - six - pyOpenSSL - - paramiko + - paramiko==4.0.0 - wheel==0.45.1 - kubernetes - pyasn1 @@ -102,7 +102,7 @@ - pycparser - mysql-connector-python==8.0.30 - netaddr - - pyvmomi + - pyvmomi==9.0.0.0 tags: - marvin - marvin_install