lean_delivery.consul_template
Ansible role for HashiCorp Consul-template
=========
Role for HashiCorp consul-template configuration
Requirements
- Minimal Version of the ansible for installation: 2.7
- Supported OS:
- CentOS
- 7
- RHEL
- 7
- Amazon Linux 2
- Ubuntu
- 18.04
- Debian
- 9
- CentOS
Role Variables
consul_template_bin_dir- path to consul binaries.
Default is/usr/local/bin.start_script_path- path to service scripts.
Default is/etc/systemd/system.consul_template_version- version of consul-template.
Default:0.20.0.consul_template_download_path- path to download source of consul-template before install
Default:/tmp.consul_template_config_path- path to consul template config files.
Default is/etc/consul-template.consul_template_zip- consul template archive name.
Default isconsul-template_{{ consul_template_version }}_linux_amd64.zip.consul_template_url- url path to download consul template.
Default ishttps://releases.hashicorp.com/consul-template/{{ consul_template_version }}/{{ consul_template_zip }}.consul_template_user- user account to run consul service.
Default:consul.consul_quota_dir- directory to store quota file.
Default:/home/ggr/go-grid-router/quota.consul_bin_file- consul binary file path.
Default:{{ consul_template_bin_dir }}/consul-template.consul_template_config- consul tempate config name.
Default:config-consul-template.conf.consul_tpl_config- grid router config template.
Default:ggr-config-consul-template.tpl.consul_xml_config- grid router users xml config.
Default:ggr-users.xml.consul_template_additional_groups- consul template additional groups list.
Default:[].
Dependencies
Example Playbook
Installing consul-template:
- name: Install consul instances
hosts: consul_instances
become: true
become_user: root
roles:
- role: brianshumate.consul
consul_group_name: consul_instances
- role: ansible-role-consul-template
vars:
consul_raw_key: ''
License
Author Information
authors:
- Lean Delivery Team team@lean-delivery.com
Install
ansible-galaxy install lean_delivery.consul_templateLicense
apache-2.0
Downloads
103
Owner
Simplify by using!
