netbox(role): don't try to deploy removed housekeeping service and timer
Some checks failed
/ Ansible Lint (push) Failing after 1m53s
Some checks failed
/ Ansible Lint (push) Failing after 1m53s
https://github.com/netbox-community/netbox/releases/tag/v4.4.0 https://github.com/netbox-community/netbox/issues/18349
This commit is contained in:
parent
ea5b4b8d69
commit
0f4fb68c97
2 changed files with 0 additions and 22 deletions
|
|
@ -14,11 +14,3 @@
|
|||
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,17 +108,3 @@
|
|||
- "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