2021-05-29 08:59:03 +02:00
|
|
|
---
|
|
|
|
{%- from "salt_minion/map.jinja" import salt_minion with context %}
|
|
|
|
salt-minion-service-file:
|
|
|
|
file.managed:
|
|
|
|
- name: /etc/systemd/system/salt-minion.service
|
|
|
|
- source: salt://salt_minion/salt-minion.service.j2
|
|
|
|
- template: jinja
|
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- mode: 644
|
|
|
|
|
|
|
|
salt-minion-service:
|
|
|
|
service.running:
|
|
|
|
- name: salt-minion
|
2021-08-19 21:15:24 +02:00
|
|
|
- enable: true
|