aboutsummaryrefslogtreecommitdiffstats
path: root/tasks/install_license.yml
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2018-02-20 02:38:41 +0100
committerTharre <tharre3@gmail.com>2018-02-20 03:37:00 +0100
commit8f84cd821701bbfe79c3ecd110d22a10214dd645 (patch)
tree4202aff9808be54140ab577f18b604f3edaec75e /tasks/install_license.yml
parent4e32e8d78d2d2bc38ed1c0135d8071fa6a9117f0 (diff)
downloadansible-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/install_license.yml')
-rw-r--r--tasks/install_license.yml18
1 files changed, 0 insertions, 18 deletions
diff --git a/tasks/install_license.yml b/tasks/install_license.yml
deleted file mode 100644
index 25c9365..0000000
--- a/tasks/install_license.yml
+++ /dev/null
@@ -1,18 +0,0 @@
----
-# License install tasks for role teamspeak
-
-- name: "License : Create directory for license"
- file:
- path: "{{ teamspeak_licensepath }}"
- state: directory
- when: teamspeak_licensepath is not none
-
-- name: "License : Copy the license file"
- copy:
- src: "{{ teamspeak_license_srcfile }}"
- dest: "{{ teamspeak_licensepath if teamspeak_licensepath is not none else ts3server_dir }}/licensekey.dat"
- owner: "{{ teamspeak.user }}"
- group: "{{ teamspeak.user }}"
- mode: 0400
- notify:
- - Restart TeamSpeak 3 Server