diff options
author | Tharre <tharre3@gmail.com> | 2018-02-20 02:38:41 +0100 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2018-02-20 03:37:00 +0100 |
commit | 8f84cd821701bbfe79c3ecd110d22a10214dd645 (patch) | |
tree | 4202aff9808be54140ab577f18b604f3edaec75e /tasks/display.yml | |
parent | 4e32e8d78d2d2bc38ed1c0135d8071fa6a9117f0 (diff) | |
download | ansible-teamspeak-8f84cd821701bbfe79c3ecd110d22a10214dd645.tar.gz ansible-teamspeak-8f84cd821701bbfe79c3ecd110d22a10214dd645.tar.xz ansible-teamspeak-8f84cd821701bbfe79c3ecd110d22a10214dd645.zip |
Vastly simplify and refactor the tasks
This mainly includes the complete removal of all the logic involved with
storing and deleting multiple versions of teamspeak, which is pointless.
All the backup logic has been removed as well, because it is both easier
and simpler to just rsync (or the ansible equivalent) the hole ts3
folder over to the target machine.
Diffstat (limited to 'tasks/display.yml')
-rw-r--r-- | tasks/display.yml | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/tasks/display.yml b/tasks/display.yml deleted file mode 100644 index 9c153e2..0000000 --- a/tasks/display.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# configuration tasks for teamspeak - -# This task prints information a TeamSpeak 3 server admin needs to log in to -# the newly installed TeamSpeak 3 Server. - -- name: "Display : Wait until TeamSpeak 3 ServerQuery is open" - wait_for: - port: "{{ teamspeak_network.query.port }}" - timeout: 30 - -- name: "Display : Fetch the password of the Server Query Admin Account" - shell: journalctl --unit teamspeak3-server.service --reverse | awk -F'"' '/password=/ { print $4; exit }' - register: __ts3_serveradmin_password - changed_when: False - -- name: "Display : Show the Server Query Admin Account password" - debug: - msg: "serveradmin password: {{ __ts3_serveradmin_password.stdout }}" - -- block: - - name: "Display : Fetch the ServerAdmin privilege key (token)" - shell: journalctl --unit teamspeak3-server.service --reverse | awk -F'=' '/token=/ { print $2 ; exit }' - register: __ts3_default_priv_token - changed_when: False - - name: "Display : Show the ServerAdmin privilege key" - debug: - msg: "token: {{ __ts3_default_priv_token.stdout }}" - when: teamspeak_create_default_virtualserver |