2021-05-29 08:59:03 +02:00
|
|
|
---
|
|
|
|
{%- from "salt_minion/map.jinja" import salt_minion with context %}
|
|
|
|
salt-minion-config:
|
|
|
|
file.managed:
|
|
|
|
- name: /etc/salt/minion
|
2023-01-07 21:10:27 +01:00
|
|
|
- source: salt://salt_minion/templates/minion.j2
|
2021-05-29 08:59:03 +02:00
|
|
|
- user: root
|
|
|
|
- group: root
|
|
|
|
- mode: 640
|
2022-12-03 00:04:04 +01:00
|
|
|
- template: jinja
|
2024-09-01 15:19:53 +02:00
|
|
|
|
|
|
|
salt-minion-reload:
|
|
|
|
cron.present:
|
|
|
|
- name: "for i in $(pgrep salt-minion); do kill -HUP $i; break; done"
|
|
|
|
- user: root
|
|
|
|
- minute: 5
|