diff options
author | Tharre <tharre3@gmail.com> | 2017-06-05 16:36:04 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2017-06-05 16:37:55 +0200 |
commit | abaf243ee0aa9b610fd698f9c5f999d17ee1b684 (patch) | |
tree | 66771501da40854b28762fdb2d1fa5741201d5a8 /tasks/main.yml | |
parent | 2a2a9aaa2286807c4a11a68b0df1127af5c344c1 (diff) | |
download | ansible-teamspeak-abaf243ee0aa9b610fd698f9c5f999d17ee1b684.tar.gz ansible-teamspeak-abaf243ee0aa9b610fd698f9c5f999d17ee1b684.tar.xz ansible-teamspeak-abaf243ee0aa9b610fd698f9c5f999d17ee1b684.zip |
Add restoring from backup functionality
Diffstat (limited to 'tasks/main.yml')
-rw-r--r-- | tasks/main.yml | 4 |
1 files changed, 4 insertions, 0 deletions
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. |