taskotron-client: enable virtlogd on f24+
This commit is contained in:
parent
3c57c1d289
commit
d2439b2ec2
1 changed files with 8 additions and 1 deletions
|
@ -79,7 +79,14 @@
|
|||
|
||||
- name: enable libvirtd
|
||||
service: name=libvirtd state=started enabled=yes
|
||||
when: deployment_type in ['dev', 'stg', 'prod']
|
||||
when: ansible_distribution_major_version|int < 24
|
||||
|
||||
- name: start and enable libvirt services
|
||||
service: name={{ item }} state=started enabled=yes
|
||||
with_items:
|
||||
- libvirtd
|
||||
- virtlogd
|
||||
when: ansible_distribution_major_version|int >= 24
|
||||
|
||||
- name: copy custom libvirt network config
|
||||
copy: src=default.xml dest=/etc/libvirt/qemu/networks/default.xml owner=root group=root mode=0600
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue