Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
dot env can contain secrets, limit its access.
  • Loading branch information
adborden committed Feb 1, 2021
1 parent 8de7d05 commit 4b98ed2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ansible/roles/software/ckan/catalog/ckan-app/tasks/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
template:
src: app_env.j2
dest: /etc/ckan/.env
mode: 0644
mode: 0640
owner: root
group: root
group: www-data
become: true

- name: Install supervisor
Expand Down
5 changes: 2 additions & 3 deletions ansible/roles/software/ckan/inventory/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,10 @@
template:
src: app_env.j2
dest: /etc/ckan/.env
mode: 0644
mode: 0640
owner: root
group: root
group: www-data
become: true
when: inventory_next
notify:
- restart ckan

Expand Down

0 comments on commit 4b98ed2

Please sign in to comment.