feat/remove-haproxy #24
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
# defaults file for hashicorp_consul
|
# defaults file for consul
|
||||||
|
|
||||||
consul_version: "latest"
|
consul_version: "latest"
|
||||||
consul_start_service: true
|
consul_start_service: true
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
---
|
---
|
||||||
# handlers file for hashicorp_consul
|
# handlers file for consul
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
# meta file for hashicorp_consul
|
# meta file for consul
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
namespace: "ednz_cloud"
|
namespace: "ednz_cloud"
|
||||||
role_name: "hashicorp_consul"
|
role_name: "consul"
|
||||||
author: "Bertrand Lanson"
|
author: "Bertrand Lanson"
|
||||||
description: "Install and configure hashicorp consul for debian-based distros."
|
description: "Install and configure hashicorp consul for debian-based distros."
|
||||||
license: "license (BSD, MIT)"
|
license: "license (BSD, MIT)"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
# task/configure file for hashicorp_consul
|
# task/configure file for consul
|
||||||
- name: "Consul | Create consul.env"
|
- name: "Consul | Create consul.env"
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: consul.env.j2
|
src: consul.env.j2
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
# task/install file for hashicorp_consul
|
# task/install file for consul
|
||||||
- name: "Consul | Get latest release of consul"
|
- name: "Consul | Get latest release of consul"
|
||||||
when: consul_version == 'latest'
|
when: consul_version == 'latest'
|
||||||
block:
|
block:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
# task/install_envoy file for hashicorp_consul
|
# task/install_envoy file for consul
|
||||||
- name: "Consul | Get release for envoy:{{ consul_envoy_version }}"
|
- name: "Consul | Get release for envoy:{{ consul_envoy_version }}"
|
||||||
vars:
|
vars:
|
||||||
_envoy_url_ext: "{% if consul_envoy_version == 'latest'%}releases{% else %}releases/tags{% endif %}"
|
_envoy_url_ext: "{% if consul_envoy_version == 'latest'%}releases{% else %}releases/tags{% endif %}"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
# task/main file for hashicorp_consul
|
# task/main file for consul
|
||||||
- name: "Consul | Set reload-check & restart-check variable"
|
- name: "Consul | Set reload-check & restart-check variable"
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
_consul_service_need_reload: false
|
_consul_service_need_reload: false
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
# task/merge_variables file for hashicorp_consul
|
# task/merge_variables file for consul
|
||||||
- name: "Consul | Merge stringified configuration"
|
- name: "Consul | Merge stringified configuration"
|
||||||
vars:
|
vars:
|
||||||
_config_to_merge: "{{ consul_configuration_string }}"
|
_config_to_merge: "{{ consul_configuration_string }}"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
# task/prerequisites file for hashicorp_consul
|
# task/prerequisites file for consul
|
||||||
- name: "Consul | Create group {{ consul_group }}"
|
- name: "Consul | Create group {{ consul_group }}"
|
||||||
ansible.builtin.group:
|
ansible.builtin.group:
|
||||||
name: "{{ consul_group }}"
|
name: "{{ consul_group }}"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
# task/recursive_copy_extra_dirs file for hashicorp_consul
|
# task/recursive_copy_extra_dirs file for consul
|
||||||
- name: "Consul | Ensure destination directory exists"
|
- name: "Consul | Ensure destination directory exists"
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ dir_source_item.dest }}"
|
path: "{{ dir_source_item.dest }}"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
# vars file for hashicorp_consul
|
# vars file for consul
|
||||||
consul_user: consul
|
consul_user: consul
|
||||||
consul_group: consul
|
consul_group: consul
|
||||||
consul_binary_path: /usr/local/bin/consul
|
consul_binary_path: /usr/local/bin/consul
|
||||||
|
Loading…
Reference in New Issue
Block a user