Compare commits
1 commit
fe2fa571ab
...
eb7ea74b4a
| Author | SHA1 | Date | |
|---|---|---|---|
| eb7ea74b4a |
3 changed files with 23 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
# 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__custom_pipeline_oidc_group_and_role_mapping: true
|
||||
|
||||
|
|
|
|||
|
|
@ -14,3 +14,11 @@
|
|||
loop:
|
||||
- "netbox.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-rq.service"
|
||||
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