Do not add swift user to ceilometer group

ceilimetermiddleware does not require access to any resources owned by
the system ceilometer user. It communicates with ceilometer services
over notification bus.

Change-Id: I5b30e4b7ec2b8c04f4bcc365aea32fbcbfddcc3a
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-08-13 23:43:49 +09:00
parent 2ad4623485
commit db90d12d74

View File

@@ -29,17 +29,6 @@
createhome: "yes"
home: "{{ ceilometer_system_user_home }}"
- name: Create the swift system user and add to ceilometer group
ansible.builtin.user:
name: "{{ swift_system_user_name }}"
group: "{{ ceilometer_system_group_name }}"
comment: "{{ swift_system_comment }}"
shell: "{{ swift_system_shell }}"
system: "yes"
createhome: "yes"
home: "{{ swift_system_home_folder }}"
when: swift_ceilometer_enabled | bool
# NOTE(cloudnull): During an upgrade the local directory may exist on a source
# install. If the directory does exist it will need to be
# removed. This is required on source installs because the