Separate permissions for configuration files
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luke Murphy 2020-04-10 09:05:05 +02:00
parent 59cb77d886
commit 924e175dde
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 13 additions and 3 deletions

View File

@ -41,7 +41,7 @@
owner: dokku
group: dokku
- name: Copy over templated configuration files
- name: Copy over the /web/ configurations
become: true
template:
src: "{{ item.src }}"
@ -50,12 +50,22 @@
group: "{{ docker_user_gid }}"
mode: 0664
with_items:
- src: alertad.conf
dest: /var/lib/alerta/alertad.conf
- src: config.json
dest: /var/lib/alerta/config.json
- name: Copy over the /app/ configurations
become: true
template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: root
group: root
mode: 0664
with_items:
- src: alerta.conf
dest: /var/lib/alerta/alerta.conf
- src: alertad.conf
dest: /var/lib/alerta/alertad.conf
- name: Specify docker volume mounts
dokku_storage: