Ensure Admin users are in additional groups
This commit is contained in:
parent
db77d5fcdd
commit
edcf14a78c
|
@ -9,6 +9,13 @@
|
||||||
- radosgw
|
- radosgw
|
||||||
state: latest
|
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
|
- name: install sysctl tweaks
|
||||||
template:
|
template:
|
||||||
src: ceph/sysctl.conf.j2
|
src: ceph/sysctl.conf.j2
|
||||||
|
|
|
@ -17,6 +17,13 @@
|
||||||
groups: ceph
|
groups: ceph
|
||||||
append: yes
|
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
|
- name: install libvirt configuration
|
||||||
template:
|
template:
|
||||||
src: libvirt/{{ item }}.j2
|
src: libvirt/{{ item }}.j2
|
||||||
|
|
Loading…
Reference in New Issue