From 552bac46af4ceb0069d7d34a0a229c461ce7d0b7 Mon Sep 17 00:00:00 2001 From: Tharre Date: Mon, 29 May 2017 15:38:57 +0200 Subject: Fix crash with userdata.stat.exists --- tasks/install.yml | 2 +- tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/install.yml b/tasks/install.yml index afd4c8b..f7d6dab 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -35,7 +35,7 @@ # If user data has been found, this is an upgrade situation. - include: ts3update.yml - when: userdata.stat.exists is defined and userdata.stat.exists == True + when: userdata.stat is defined and userdata.stat.exists == True # Created a new directory? Extract the files into it. Overwrites existing. - name: "Install : Extract TeamSpeak {{ teamspeak.version }} Server files" diff --git a/tasks/main.yml b/tasks/main.yml index 43b69cc..c29fde0 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -62,4 +62,4 @@ # Display Teamspeak 3 Server Token and Password if this is a new installation # (a new installation has no userdata, and this is checked for in install.yml) - include: display.yml - when: userdata.stat.exists is defined and userdata.stat.exists == False + when: userdata.stat is defined and userdata.stat.exists == False -- cgit v1.2.3-70-g09d2