Skip to content

Commit

Permalink
Ensure the config is always readable
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterlexis committed Jun 27, 2017
1 parent fd184f6 commit a268951
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
- name: Set the varibles for the config.json permissions
set_fact:
mattermost_config_owner: '{% if mattermost_config_writable %}{{ mattermost_user }}{% else %}root{% endif %}'
mattermost_config_group: '{% if mattermost_config_writable %}{{ mattermost_group }}{% else %}root{% endif %}'
mattermost_config_mode: 640
mattermost_config_group: '{{ mattermost_group }}'
mattermost_config_mode: 0640

- name: Configure the database
json_file:
Expand Down

0 comments on commit a268951

Please sign in to comment.