redis server

This commit is contained in:
Waffles
2023-01-03 20:15:14 -08:00
parent 6d6e24d07f
commit e18a229b76
3 changed files with 12 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
---
REDIS_HOST: ''
# Host where cron jobs are run
MAINTENANCE_HOST: ''
+3
View File
@@ -29,5 +29,8 @@
dest: /home/mastodon/live/docker-compose.yml
notify: "docker-compose up"
- import_tasks: redis.yaml
when: ansible_hostname == REDIS_HOST
- import_tasks: maintenance.yml
when: ansible_hostname == MAINTENANCE_HOST
+5
View File
@@ -0,0 +1,5 @@
---
- name: Install redis server
package:
name: redis-server
state: present