Skip to content

Commit

Permalink
Set redis user uid to container redis uid
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvanes committed Feb 24, 2025
1 parent 836b921 commit 588bc2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/docker_redis/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
- name: "Create Redis user"
user:
name: "{{ redis_user }}"
# Redis container redis user is hard-coded to 999
uid: 999
comment: "User to run SRAM Redis service"
shell: "/bin/false"
password: "!"
Expand Down

0 comments on commit 588bc2f

Please sign in to comment.