diff --git a/tasks/dokuwiki.yml b/tasks/dokuwiki.yml index fe5ed9f..581e8e6 100644 --- a/tasks/dokuwiki.yml +++ b/tasks/dokuwiki.yml @@ -166,6 +166,7 @@ dest: "{{ docroot }}" owner: "{{ lighttpd_user }}" group: "{{ lighttpd_group }}" + when: use_backup and backup_guard_present.matched == 0 - name: add guard file to let ansible know backup is completed file: