Skip to content

Commit

Permalink
deploy: Update bot deployment to use prod redis IP
Browse files Browse the repository at this point in the history
Signed-off-by: Russell Bryant <[email protected]>
  • Loading branch information
russellb committed Mar 17, 2024
1 parent 56be404 commit 9cd0c58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions deploy/ansible/bot/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
APP_ID: "{{ app_id }}"
PRIVATE_KEY: "{{ private_key }}"
WEBHOOK_SECRET: "{{ webhook_secret }}"
REDIS_URL: "redis://{{ redis_ip }}:6379"
3 changes: 2 additions & 1 deletion deploy/ansible/redis/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@
src: redis/templates/redis.local.conf.j2
dest: /etc/redis/redis.local.conf
mode: '0640'
owner: redis
become: true

- name: Start redis systemd service
ansible.builtin.systemd:
name: redis
state: started
state: restarted
enabled: true
become: true

0 comments on commit 9cd0c58

Please sign in to comment.