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 - name: enable renovate
systemd: ansible.builtin.systemd:
name: "renovate.timer" name: "renovate.timer"
state: started state: started
enabled: true enabled: true

View File

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