This role creates
None.
To install all the defaults:
- hosts: my_server
roles:
- { role: custom_service_go }
You can provide a variable sector for your host like this:
Example of host_vars/my_serever
---
services:
- name: gh-service
clientID: 'our_id'
clientSecret: 'our_secret'
port: 3336
scopes:
- \"user:email\"
- repo
user: 'vagrant'
group: 'vagrant'
go_path: "{{ ansible_env.HOME }}/go"
That will create a file in /etc/{{ services.name }}.conf with the provided yaml (necessary to run the service executable.
( Check out defaults/main.yml
for advanced variables )
This role is provided by the Tinkerware project under a GNU GPLv3 Licence.