From 8f84cd821701bbfe79c3ecd110d22a10214dd645 Mon Sep 17 00:00:00 2001 From: Tharre Date: Tue, 20 Feb 2018 02:38:41 +0100 Subject: 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. --- tasks/install_license.yml | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 tasks/install_license.yml (limited to 'tasks/install_license.yml') 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 -- cgit v1.2.3-70-g09d2