mirror of https://github.com/ceph/ceph-ansible.git
ceph-container: use ceph user and group
Use --setuser and --setgroup to ceph to run daemons with ceph user. Signed-off-by: Seena Fallah <seenafallah@gmail.com>pull/7562/head
parent
779a13eb31
commit
7016c6df3c
|
@ -493,6 +493,8 @@ dummy:
|
|||
# CONTAINER_IMAGE: "{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}"
|
||||
# TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES: "{{ ceph_tcmalloc_max_total_thread_cache }}"
|
||||
# args:
|
||||
# - --setuser=ceph
|
||||
# - --setgroup=ceph
|
||||
# - --default-log-to-file=false
|
||||
# - --default-log-to-stderr=true
|
||||
# - --default-log-stderr-prefix="debug "
|
||||
|
|
|
@ -485,6 +485,8 @@ ceph_common_container_params:
|
|||
CONTAINER_IMAGE: "{{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}"
|
||||
TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES: "{{ ceph_tcmalloc_max_total_thread_cache }}"
|
||||
args:
|
||||
- --setuser=ceph
|
||||
- --setgroup=ceph
|
||||
- --default-log-to-file=false
|
||||
- --default-log-to-stderr=true
|
||||
- --default-log-stderr-prefix="debug "
|
||||
|
|
Loading…
Reference in New Issue