aboutsummaryrefslogtreecommitdiffstats
path: root/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/main.yml')
-rw-r--r--tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
index 9e619fc..43b69cc 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -58,3 +58,8 @@
name: teamspeak3-server
state: started
enabled: yes
+
+# 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