aboutsummaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorStefan Joosten <stefan@sjoosten.nl>2016-08-25 23:51:03 +0200
committerStefan Joosten <stefan@sjoosten.nl>2016-08-25 23:51:03 +0200
commit7ef374edd6f40c1d8a754fdd58dba22efb707932 (patch)
treebf262b5f24d79efb09def6a04c57fa13575e420a /tasks
parentb331fee529dc21d54b3a495d6fa68029a3920648 (diff)
downloadansible-teamspeak-7ef374edd6f40c1d8a754fdd58dba22efb707932.tar.gz
ansible-teamspeak-7ef374edd6f40c1d8a754fdd58dba22efb707932.tar.xz
ansible-teamspeak-7ef374edd6f40c1d8a754fdd58dba22efb707932.zip
Made location of source license file configurable.issue3
This also makes it possible to use different license files for different hosts.
Diffstat (limited to 'tasks')
-rw-r--r--tasks/install_license.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/install_license.yml b/tasks/install_license.yml
index b54b551..25c9365 100644
--- a/tasks/install_license.yml
+++ b/tasks/install_license.yml
@@ -9,7 +9,7 @@
- name: "License : Copy the license file"
copy:
- src: licensekey.dat
+ src: "{{ teamspeak_license_srcfile }}"
dest: "{{ teamspeak_licensepath if teamspeak_licensepath is not none else ts3server_dir }}/licensekey.dat"
owner: "{{ teamspeak.user }}"
group: "{{ teamspeak.user }}"