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
|
@ -0,0 +1,3 @@
|
|||
unix_sock_group = "libvirt"
|
||||
unix_sock_rw_perms = "0770"
|
||||
auth_unix_rw = "none"
|
|
@ -78,7 +78,15 @@
|
|||
- restart libvirtd
|
||||
tags:
|
||||
- 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
|
||||
service: name=libvirtd state=started enabled=yes
|
||||
|
|
Loading…
Reference in New Issue