Add any number of users to libvirt group

This commit is contained in:
Kris Lamoureux 2020-06-30 00:55:35 -04:00
parent 8742c65430
commit 57c5540c03
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -10,6 +10,8 @@
- name: Add user to libvirt group
user:
name: "{{ libvirt_user }}"
name: "{{ item }}"
groups: libvirt
append: yes
with_items: "{{ libvirt_users }}"
when: libvirt_users is defined