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:
@@ -29,17 +29,6 @@
|
|||||||
createhome: "yes"
|
createhome: "yes"
|
||||||
home: "{{ ceilometer_system_user_home }}"
|
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
|
# NOTE(cloudnull): During an upgrade the local directory may exist on a source
|
||||||
# install. If the directory does exist it will need to be
|
# install. If the directory does exist it will need to be
|
||||||
# removed. This is required on source installs because the
|
# removed. This is required on source installs because the
|
||||||
|
Reference in New Issue
Block a user