From abaf243ee0aa9b610fd698f9c5f999d17ee1b684 Mon Sep 17 00:00:00 2001 From: Tharre Date: Mon, 5 Jun 2017 16:36:04 +0200 Subject: Add restoring from backup functionality --- tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tasks/main.yml') diff --git a/tasks/main.yml b/tasks/main.yml index c29fde0..b5dded6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -48,6 +48,10 @@ when: not teamspeak_ini_enabled # End of configuration +# Restore from backups if they exist +- include: restore_backup.yml + when: userdata.stat is defined and userdata.stat.exists == False + # Perform the running of handlers now # So we can do "Reload systemd" (and possibly queued clean-up) # before we start using the new/changed .service file. -- cgit v1.2.3-70-g09d2