paulbsd-salt/states/ipbl/service.sls

15 lines
307 B
Plaintext
Raw Normal View History

2021-12-12 19:11:24 +01:00
---
{%- from "ipbl/map.jinja" import ipbl with context %}
ipbl-service-file:
file.managed:
- name: /etc/systemd/system/ipbl.service
- source: salt://ipbl/ipbl.service.j2
- user: root
- group: root
- template: jinja
ipbl-service:
service.running:
- name: ipbl
- enable: true