Enable and start vhostmd service

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:22 -04:00
parent b654be8825
commit 32b719cb4a
1 changed files with 9 additions and 1 deletions

View File

@ -49,7 +49,15 @@
replace: 'libvirtd_opts="--listen"' replace: 'libvirtd_opts="--listen"'
notify: restart libvirtd notify: restart libvirtd
- name: disable services - name: enable services
service:
name: "{{ item }}"
enabled: yes
state: started
with_items:
- vhostmd
- name: disable PVC-managed services
service: service:
name: "{{ item }}" name: "{{ item }}"
enabled: no enabled: no