paulbsd-salt/states/ipbl/service.sls
Paul Lecuq a3b02771a4
All checks were successful
continuous-integration/drone/push Build is passing
created templates folder on each state
2023-03-11 10:08:26 +01:00

15 lines
317 B
Plaintext

---
{%- from "ipbl/map.jinja" import ipbl with context %}
ipbl-service-file:
file.managed:
- name: /etc/systemd/system/ipbl.service
- source: salt://ipbl/templates/ipbl.service.j2
- user: root
- group: root
- template: jinja
ipbl-service:
service.running:
- name: ipbl
- enable: true