tts
Token Translation Service Role
Configure and start the WaTTS.
This role has been specifically developed to be used for the deployment of the WaTTS in the framework of the INDIGO-DataCloud project.
Role Variables
deb_get_url
,rpm_get_url
(optional): Define these to manually download the respective packages instead of using the INDIGO-DC repositoryindigo_repo
,indigo_centos_repo_url
,indigo_ubuntu_repo_url
,indigo_pgp_key_url
: Use these to override how to access the INDIGO repositorywatts_pkg_name
(default: "tts"),watts_service_name
(default: "watts")start_at_boot
(default:no
) Whether to enable the WaTTS to be started at boot
Requirements
- CentOS 7 or Ubuntu 14.04 LTS on the nodes are explicily supported
- Anything using yum+systemd or apt+upstart should also be fine
Example Playbook
Install the role
From the repo:
# ansible-galaxy install -r sample/requirements.yml
Using the official vault:
# ansible-galaxy install indigo-dc.tts
Give it a try:
- hosts: tts-server roles: - indigo-dc.tts start_at_boot: yes
Then you can run it, e.g. using the provided sample playbook:
$ ansible-playbook sample/example.yml --inventory=sample/inventory
Of course, you will need to adapt sample/inventory according to your needs, or leave the
--inventory
option out and use the default/etc/ansible/hosts
.See also: sample/example.yml.
License
Apache Licence v2 1
ansible-galaxy install indigo-dc/ansible-role-tts