paulbsd-salt/states/gobackup/config.sls
2020-08-30 16:54:26 +02:00

11 lines
310 B
Plaintext

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