virthost-aarch64-os: Use libvirt group instead of sysadmin-main for the virt socket on these.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
54882cff68
commit
ac8213f97c
2 changed files with 12 additions and 1 deletions
3
files/virthost/libvirtd.conf.os
Normal file
3
files/virthost/libvirtd.conf.os
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
unix_sock_group = "libvirt"
|
||||||
|
unix_sock_rw_perms = "0770"
|
||||||
|
auth_unix_rw = "none"
|
|
@ -78,7 +78,15 @@
|
||||||
- restart libvirtd
|
- restart libvirtd
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7
|
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7 and not inventory_hostname.startswith('virthost-aarch64-os')
|
||||||
|
|
||||||
|
- name: install libvirtd.conf
|
||||||
|
copy: src="{{ files }}/virthost/libvirtd.conf.os" dest=/etc/libvirt/libvirtd.conf
|
||||||
|
notify:
|
||||||
|
- restart libvirtd
|
||||||
|
tags:
|
||||||
|
- config
|
||||||
|
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7 and inventory_hostname.startswith('virthost-aarch64-os')
|
||||||
|
|
||||||
- name: enable libvirtd
|
- name: enable libvirtd
|
||||||
service: name=libvirtd state=started enabled=yes
|
service: name=libvirtd state=started enabled=yes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue