fix: add linter
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Markus Pesch 2023-02-08 18:24:39 +01:00
parent 8b68ee7b78
commit 5518c9b141
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 8 additions and 5 deletions

View File

@ -1,7 +1,7 @@
---
- name: enable renovate
systemd:
ansible.builtin.systemd:
name: "renovate.timer"
state: started
enabled: true

View File

@ -1,16 +1,16 @@
---
- name: Create directory to store configuration files
file:
ansible.builtin.file:
path: "{{ renovate_dir }}"
owner: root
group: docker
mode: 0775
state: directory
recurse: yes
recurse: true
- name: Create configuration files
template:
ansible.builtin.template:
src: "{{ item }}.j2"
dest: "{{ renovate_dir }}/{{ item | basename }}"
owner: root
@ -21,9 +21,12 @@
- srv/docker/renovate/config.json
- name: Create systemd unit files
template:
ansible.builtin.template:
src: "{{ item }}.j2"
dest: "{{ renovate_systemd_dir }}/{{ item | basename }}"
owner: root
group: root
mode: 0644
with_items:
- etc/systemd/system/renovate.service
- etc/systemd/system/renovate.timer