Ensure Admin users are in additional groups

This commit is contained in:
2023-09-01 15:42:28 -04:00
parent ce9304e43e
commit 4dfd877c7f
2 changed files with 14 additions and 0 deletions

View File

@ -17,6 +17,13 @@
groups: ceph
append: yes
- name: add admin users to libvirt groups
user:
name: "{{ item.name }}"
groups: kvm,libvirt
append: yes
with_items: "{{ admin_users }}"
- name: install libvirt configuration
template:
src: libvirt/{{ item }}.j2