Separate permissions for configuration files
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
59cb77d886
commit
924e175dde
|
@ -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:
|
||||
|
|
Reference in New Issue