Compare commits
1 commit
f301e9d2b3
...
dd241c8c0c
| Author | SHA1 | Date | |
|---|---|---|---|
| dd241c8c0c |
3 changed files with 23 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
# renovate: datasource=github-releases depName=netbox packageName=netbox-community/netbox
|
# renovate: datasource=github-releases depName=netbox packageName=netbox-community/netbox
|
||||||
netbox__version: "v4.4.5"
|
netbox__version: "v4.1.7"
|
||||||
netbox__config: "{{ lookup('ansible.builtin.template', 'resources/chaosknoten/netbox/netbox/configuration.py.j2') }}"
|
netbox__config: "{{ lookup('ansible.builtin.template', 'resources/chaosknoten/netbox/netbox/configuration.py.j2') }}"
|
||||||
netbox__custom_pipeline_oidc_group_and_role_mapping: true
|
netbox__custom_pipeline_oidc_group_and_role_mapping: true
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,3 +14,11 @@
|
||||||
loop:
|
loop:
|
||||||
- "netbox.service"
|
- "netbox.service"
|
||||||
- "netbox-rq.service"
|
- "netbox-rq.service"
|
||||||
|
|
||||||
|
- name: Ensure netbox housekeeping timer is set up and up-to-date
|
||||||
|
ansible.builtin.systemd_service:
|
||||||
|
daemon_reload: true
|
||||||
|
name: "netbox-housekeeping.timer"
|
||||||
|
enabled: true
|
||||||
|
state: restarted
|
||||||
|
become: true
|
||||||
|
|
|
||||||
|
|
@ -108,3 +108,17 @@
|
||||||
- "netbox.service"
|
- "netbox.service"
|
||||||
- "netbox-rq.service"
|
- "netbox-rq.service"
|
||||||
notify: Ensure netbox systemd services are set up and up-to-date
|
notify: Ensure netbox systemd services are set up and up-to-date
|
||||||
|
|
||||||
|
- name: Ensure provided housekeeping systemd service and timer are copied
|
||||||
|
ansible.builtin.copy:
|
||||||
|
remote_src: true
|
||||||
|
src: "/opt/netbox/contrib/{{ item }}"
|
||||||
|
dest: "/etc/systemd/system/{{ item }}"
|
||||||
|
mode: "0644"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
become: true
|
||||||
|
loop:
|
||||||
|
- "netbox-housekeeping.service"
|
||||||
|
- "netbox-housekeeping.timer"
|
||||||
|
notify: Ensure netbox housekeeping timer is set up and up-to-date
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue