create the file if it is missing

This commit is contained in:
Andreas Zweili 2021-11-15 18:35:59 +01:00
parent f156316279
commit 0f4bbb3ca6
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@
mode: 0755
owner: "ansible"
group: "ansible"
create: yes
block: |
#!/bin/bash
export RESTIC_REPOSITORY=sftp:borg@10.7.89.117:restic
@ -48,6 +49,7 @@
mode: 0755
owner: "andreas"
group: "andreas"
create: yes
block: |
#!/bin/bash
export RESTIC_REPOSITORY=sftp:borg@10.7.89.117:restic