mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-24 00:08:02 +01:00
fix permissions
This commit is contained in:
parent
b3706204ce
commit
3bb3d926e1
3 changed files with 4 additions and 6 deletions
|
@ -17,8 +17,6 @@
|
||||||
url: https://github.com/arp242/goatcounter/releases/download/{{ release.tag }}/goatcounter-{{ release.tag }}-linux-amd64.gz
|
url: https://github.com/arp242/goatcounter/releases/download/{{ release.tag }}/goatcounter-{{ release.tag }}-linux-amd64.gz
|
||||||
dest: "{{ dir }}/goatcounter-{{ release.tag }}.gz"
|
dest: "{{ dir }}/goatcounter-{{ release.tag }}.gz"
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
owner: gaugendre
|
|
||||||
group: gaugendre
|
|
||||||
- name: Uncompress
|
- name: Uncompress
|
||||||
ansible.builtin.command: gunzip {{ dir }}/goatcounter-{{ release.tag }}.gz
|
ansible.builtin.command: gunzip {{ dir }}/goatcounter-{{ release.tag }}.gz
|
||||||
args:
|
args:
|
||||||
|
@ -26,7 +24,7 @@
|
||||||
- name: Make executable
|
- name: Make executable
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ dir }}/goatcounter-{{ release.tag }}"
|
path: "{{ dir }}/goatcounter-{{ release.tag }}"
|
||||||
mode: "0775"
|
mode: "0755"
|
||||||
- name: Symlink
|
- name: Symlink
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
src: "{{ dir }}/goatcounter-{{ release.tag }}"
|
src: "{{ dir }}/goatcounter-{{ release.tag }}"
|
||||||
|
@ -37,7 +35,7 @@
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: templates/goatcounter.service.j2
|
src: templates/goatcounter.service.j2
|
||||||
dest: /etc/systemd/system/goatcounter.service
|
dest: /etc/systemd/system/goatcounter.service
|
||||||
mode: "0644"
|
mode: "0600"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
notify:
|
notify:
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: templates/lyon-transports.service.j2
|
src: templates/lyon-transports.service.j2
|
||||||
dest: /etc/systemd/system/lyon-transports.service
|
dest: /etc/systemd/system/lyon-transports.service
|
||||||
mode: "0644"
|
mode: "0600"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
notify:
|
notify:
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: "{{ docker_dir }}/"
|
dest: "{{ docker_dir }}/"
|
||||||
mode: preserve
|
mode: "0600"
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- files/{{ docker_app_name }}/*
|
- files/{{ docker_app_name }}/*
|
||||||
- files/{{ docker_app_name }}/.*
|
- files/{{ docker_app_name }}/.*
|
||||||
|
|
Loading…
Reference in a new issue