dotfiles/salt/states/borgbackup.sls

8 lines
230 B
Plaintext
Raw Normal View History

2020-08-10 10:07:50 +00:00
Add borgbackup bash wrapper:
file.managed:
- name: {{ salt['user.info']( pillar['username'] ).home }}/bin/borg.sh
- source: salt://files/borg.sh
- user: {{ pillar['username'] }}
- group: users
- mode: "0755"