Ensure Admin users are in additional groups

This commit is contained in:
Joshua Boniface 2021-11-29 15:48:18 -05:00
parent db77d5fcdd
commit edcf14a78c
2 changed files with 14 additions and 0 deletions

View File

@ -9,6 +9,13 @@
- radosgw
state: latest
- name: add admin users to ceph groups
user:
name: "{{ item.name }}"
groups: ceph
append: yes
with_items: "{{ admin_users }}"
- name: install sysctl tweaks
template:
src: ceph/sysctl.conf.j2

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