paulbsd-salt/states/gobackup/config.sls
Paul a483cf7c74
All checks were successful
continuous-integration/drone/push Build is passing
updated gobackup state
2025-09-30 10:08:25 +02:00

16 lines
378 B
Plaintext

---
{%- from "gobackup/map.jinja" import gobackup with context %}
gobackup-config-dir:
file.directory:
- name: {{ gobackup.config_dir }}
- user: root
- group: root
- mode: 755
gobackup-config-file:
file.managed:
- name: {{ gobackup.config_dir }}/gobackup.yml
- source: salt://gobackup/templates/gobackup.yml.j2
- mode: 700
- template: jinja