This commit is contained in:
parent
8b68ee7b78
commit
5518c9b141
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user