diff options
-rw-r--r-- | tasks/config.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tasks/config.yml b/tasks/config.yml index 3a9035a..bc8204b 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -10,3 +10,7 @@ group: "{{ teamspeak.user }}" notify: - Restart TeamSpeak 3 Server + +- name: "grep ServerAdmin Password" + shell: 'journalctl -u teamspeak3-server.service --since today | grep -oEi \'password= "(.*)"\' | cut -d\" -f2 | tail -n1' + register: __ts3_serveradmin_password |