diff options
-rw-r--r-- | ansible/roles/certbot/tasks/main.yml | 13 | ||||
-rw-r--r-- | kubernetes/namespaces/databases/redis/README.md | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/ansible/roles/certbot/tasks/main.yml b/ansible/roles/certbot/tasks/main.yml index 8aeae92..345dd5d 100644 --- a/ansible/roles/certbot/tasks/main.yml +++ b/ansible/roles/certbot/tasks/main.yml @@ -74,3 +74,16 @@ when: "inventory_hostname in certbot_cert_users" tags: - role::certbot + + +- name: Reload nginx after certificate renewal + ansible.builtin.copy: + content: | + #!/bin/sh + set -ex + + systemctl reload nginx + dest: /etc/letsencrypt/renewal-hooks/deploy/reload-nginx + owner: root + group: root + mode: "0500" diff --git a/kubernetes/namespaces/databases/redis/README.md b/kubernetes/namespaces/databases/redis/README.md index 8daee87..0e723af 100644 --- a/kubernetes/namespaces/databases/redis/README.md +++ b/kubernetes/namespaces/databases/redis/README.md @@ -16,11 +16,12 @@ A service called `redis` will be created to give the deployment a cluster local ## Databases -Redis provides 32 databases by default, which are 0-indexed. CUrrent database usage is as follows: +Redis provides 32 databases by default, which are 0-indexed. Current database usage is as follows: 0 - Python bot, Sir-Lancebot, Sir-Robin 1 - Forms Backend 3 - Pixels + ## Secrets Redis requires a `redis-credentials` secret with the following entries: |