This commit is contained in:
parent
8b68ee7b78
commit
5518c9b141
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
- name: enable renovate
|
||||
systemd:
|
||||
ansible.builtin.systemd:
|
||||
name: "renovate.timer"
|
||||
state: started
|
||||
enabled: true
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user