Disable libvirtd and stop it
Disable libvirtd and stop it the dnsmasq libvirtd process conflicts with the
dnsmasq process from ironic inspector and that there's no need to have
libvirtd running at all on any of the overcloud nodes.
Change-Id: Ied386c148717c53903bd5f58c575e8c6cabee7a9
(cherry picked from commit 5b9648dd9d
)
This commit is contained in:
parent
9175f821cd
commit
4825f115b6
@ -298,6 +298,22 @@ outputs:
|
|||||||
- rsync
|
- rsync
|
||||||
state: present
|
state: present
|
||||||
when: ansible_facts['distribution_major_version'] is version('8', '==')
|
when: ansible_facts['distribution_major_version'] is version('8', '==')
|
||||||
|
- name: check if libvirt is installed
|
||||||
|
command: /usr/bin/rpm -q libvirt-daemon
|
||||||
|
failed_when: false
|
||||||
|
register: libvirt_installed
|
||||||
|
check_mode: false
|
||||||
|
- name: make sure libvirt services are disabled and masked
|
||||||
|
service:
|
||||||
|
name: "{{ item }}"
|
||||||
|
state: stopped
|
||||||
|
enabled: false
|
||||||
|
masked: true
|
||||||
|
daemon_reload: true
|
||||||
|
loop:
|
||||||
|
- libvirtd.service
|
||||||
|
- virtlogd.socket
|
||||||
|
when: libvirt_installed.rc == 0
|
||||||
- name: Special treatment for OpenvSwitch
|
- name: Special treatment for OpenvSwitch
|
||||||
tripleo_ovs_upgrade:
|
tripleo_ovs_upgrade:
|
||||||
when:
|
when:
|
||||||
|
Loading…
Reference in New Issue
Block a user