Fix: Create config dir for storing duplicity state

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-01-27 11:17:52 +01:00
parent 36a89affbf
commit 375a6d963a
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -1,4 +1,5 @@
---
- name: Install required apt packages
apt:
name: "{{ item }}"
@ -49,3 +50,10 @@
job: /usr/bin/find /var/log/duplicity -type f -mtime +14 -delete
cron_file: duplicity
user: root
- name: Ensure .config directory used by duplicity
file:
dest: /root/.config
state: directory
...