Skip to content

Commit

Permalink
Add missing default var
Browse files Browse the repository at this point in the history
  • Loading branch information
baszoetekouw committed Apr 9, 2024
1 parent 43202af commit 4cae776
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions roles/sbs/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ sbs_dbbackup_user: "sbs_backupper"

sbs_migration_user: "sbs_migrater"

sbs_redis_user: "default"
sbs_redis_host: "localhost"
sbs_redis_port: 6379
sbs_redis_ssl: false
Expand Down
2 changes: 1 addition & 1 deletion roles/sbs/templates/config.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ redis:
{% if environment_name == 'tst2' %}
uri: "redis://{{sbs_redis_host}}/"
{% else %}
uri: "redis{% if sbs_redis_ssl %}s{% endif %}://{{ sbs_redis_user}}:{{sbs_redis_password}}@{{sbs_redis_host}}:{{sbs_redis_port}}/"
uri: "redis{% if sbs_redis_ssl %}s{% endif %}://{{ sbs_redis_user }}:{{ sbs_redis_password }}@{{ sbs_redis_host }}:{{ sbs_redis_port }}/"
{% endif %}

# add a per-release suffix here to invalidate sessions on new releases
Expand Down

0 comments on commit 4cae776

Please sign in to comment.