14 lines
291 B
Plaintext
14 lines
291 B
Plaintext
|
---
|
||
|
netbox-service-file:
|
||
|
file.managed:
|
||
|
- name: /etc/systemd/system/netbox.service
|
||
|
- source: salt://netbox/templates/netbox.service.j2
|
||
|
- template: jinja
|
||
|
- user: root
|
||
|
- group: root
|
||
|
- mode: 0755
|
||
|
|
||
|
netbox-service:
|
||
|
service.running:
|
||
|
- name: netbox
|
||
|
- enable: True
|