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
This commit is contained in:
parent
ccb194cbfe
commit
5b9648dd9d
|
@ -298,6 +298,22 @@ outputs:
|
|||
- rsync
|
||||
state: present
|
||||
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
|
||||
tripleo_ovs_upgrade:
|
||||
when:
|
||||
|
|
Loading…
Reference in New Issue