paulbsd-salt/states/ipblc/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
325 B
Plaintext

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