Skip to content

Commit

Permalink
Merge pull request #27 from patrickjahns/fix_linting_issues
Browse files Browse the repository at this point in the history
fix: specify provide permissions for file related tasks
  • Loading branch information
patrickjahns authored Sep 3, 2020
2 parents 278f632 + 15d309c commit cf87f63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
src: "{{ promtail_tmp_dir }}/{{ promtail_version }}_promtail-linux-{{ go_arch }}.zip"
dest: "{{ promtail_install_dir }}/{{ promtail_version }}"
creates: "{{ promtail_install_dir }}/{{ promtail_version }}/promtail-linux-{{ go_arch }}"
mode: 0755
remote_src: True

- name: Create symlink to latest version
Expand All @@ -91,10 +92,12 @@
dest: "{{ promtail_config_file }}"
owner: root
group: "{{ promtail_system_group }}"
mode: 0644

- name: Create systemd service unit
notify:
- Restart promtail
template:
src: service.j2
dest: /etc/systemd/system/promtail.service
mode: 0644

0 comments on commit cf87f63

Please sign in to comment.