lean_delivery.consul_template

Ansible role for HashiCorp Consul-template

=========

License Build Status Build Status Galaxy Ansible Ansible

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

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 is consul-template_{{ consul_template_version }}_linux_amd64.zip.
  • consul_template_url - url path to download consul template.
    Default is https://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

  • ansible role brianshumate.consul Galaxy

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

Apache
License

Author Information

authors:

About

Ansible role for HashiCorp Consul-template

Install
ansible-galaxy install lean_delivery.consul_template
GitHub repository
License
apache-2.0
Downloads
103
Owner
Simplify by using!