paulbsd-salt/states/gobackup/config.sls
Paul e39b7ff333
All checks were successful
continuous-integration/drone/push Build is passing
updated gobackup state
2025-09-29 19:12:25 +02:00

15 lines
362 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
- template: jinja