hashistack/roles/hashicorp_consul/vars/main.yml

29 lines
978 B
YAML
Raw Normal View History

---
# vars file for hashicorp_consul
hashi_consul_user: consul
hashi_consul_group: consul
hashi_consul_config_dir: "/etc/consul.d"
hashi_consul_envoy_github_api: https://api.github.com/repos/envoyproxy/envoy
hashi_consul_envoy_github_url: https://github.com/envoyproxy/envoy
hashi_consul_envoy_path: "/usr/local/bin/envoy"
hashi_consul_envoy_arch_map:
x86_64: 'x86_64'
aarch64: 'aarch64'
hashi_consul_envoy_arch: "{{ hashi_consul_envoy_arch_map[ansible_architecture] | default(ansible_architecture) }}"
hashi_consul_repository:
- name: hashicorp
uri: "https://apt.releases.hashicorp.com"
comments: "hashicorp repository"
types:
- deb
suites:
- "{{ ansible_distribution_release }}"
components:
- main
options:
Signed-By: "https://apt.releases.hashicorp.com/gpg"
hashi_consul_packages:
- name: consul
version: "{{ hashi_consul_version }}"
state: "{% if hashi_consul_auto_update %}latest{% else %}present{% endif %}"