diff options
| -rw-r--r-- | tasks/install.yml | 2 | ||||
| -rw-r--r-- | 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  | 
