mirror of
https://github.com/luzifer-ansible/duplicity-backup.git
synced 2024-11-09 22:20:00 +00:00
Fix: Create config dir for storing duplicity state
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
36a89affbf
commit
375a6d963a
1 changed files with 8 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: Install required apt packages
|
- name: Install required apt packages
|
||||||
apt:
|
apt:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
|
@ -49,3 +50,10 @@
|
||||||
job: /usr/bin/find /var/log/duplicity -type f -mtime +14 -delete
|
job: /usr/bin/find /var/log/duplicity -type f -mtime +14 -delete
|
||||||
cron_file: duplicity
|
cron_file: duplicity
|
||||||
user: root
|
user: root
|
||||||
|
|
||||||
|
- name: Ensure .config directory used by duplicity
|
||||||
|
file:
|
||||||
|
dest: /root/.config
|
||||||
|
state: directory
|
||||||
|
|
||||||
|
...
|
||||||
|
|
Loading…
Reference in a new issue