Browse Source

[hauk] Fix permissions on config and redis service

Colin Powell 3 years ago
parent
commit
4c55fc83cf
2 changed files with 2 additions and 2 deletions
  1. 1 1
      ansible/roles/hauk/tasks/main.yml
  2. 1 1
      ansible/roles/hauk/templates/config.php.j2

+ 1 - 1
ansible/roles/hauk/tasks/main.yml

@@ -40,5 +40,5 @@
   template:
     src: config.php.j2
     dest: /usr/local/etc/hauk/config.php
-    mode: 0600
+    mode: 0660
   notify: PHP-fpm restarted

+ 1 - 1
ansible/roles/hauk/templates/config.php.j2

@@ -40,7 +40,7 @@
 
 // Connection to Redis for data storage. To connect via UNIX socket instead of
 // TCP, set host to '/path/to/redis.sock'.
-"redis_host"            => 'redis.service',
+"redis_host"            => 'cache.service',
 "redis_port"            => 6379,
 
 // If you use password authentication in Redis, set `redis_use_auth` to true and