From 375a6d963a6d61081e23f275337f474464694df2 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 27 Jan 2018 11:17:52 +0100 Subject: [PATCH] Fix: Create config dir for storing duplicity state Signed-off-by: Knut Ahlers --- tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index a4de49c..dd7300f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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 + +...