aboutsummaryrefslogtreecommitdiffstats
path: root/tasks/main.yml
diff options
context:
space:
mode:
authorStefan Joosten <stefan@sjoosten.nl>2017-01-21 17:34:25 +0100
committerStefan Joosten <stefan@sjoosten.nl>2017-01-21 17:34:25 +0100
commit79f5221276f76cd78d800315e5f985ef2f7d529f (patch)
treec64dcd7456899c1e1d70039f5de1cac95ff3c3c2 /tasks/main.yml
parentd15924d12ddc76965c3a4ce8face6b82b286d369 (diff)
downloadansible-teamspeak-79f5221276f76cd78d800315e5f985ef2f7d529f.tar.gz
ansible-teamspeak-79f5221276f76cd78d800315e5f985ef2f7d529f.tar.xz
ansible-teamspeak-79f5221276f76cd78d800315e5f985ef2f7d529f.zip
Fix issue #7
Display the Server Query Admin Account password and ServerAdmin privilege key.
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