ansible-role-hashicorp-consul
所属分类:DevOps
开发工具:Jinja
文件大小:0KB
下载次数:0
上传日期:2023-08-04 20:05:20
上 传 者:
sh-1993
说明: 哈希科普执政官的责任角色,
(ansible-role-hashicorp-consul,)
文件列表:
.config/ (0, 2023-11-09)
.config/ansible-lint.yml (72, 2023-11-09)
.config/yamllint (138, 2023-11-09)
LICENSE (35149, 2023-11-09)
Makefile (323, 2023-11-09)
defaults/ (0, 2023-11-09)
defaults/main.yml (1306, 2023-11-09)
handlers/ (0, 2023-11-09)
handlers/main.yml (281, 2023-11-09)
meta/ (0, 2023-11-09)
meta/main.yml (387, 2023-11-09)
tasks/ (0, 2023-11-09)
tasks/main.yml (4029, 2023-11-09)
templates/ (0, 2023-11-09)
templates/client.hcl.j2 (394, 2023-11-09)
templates/client.json.j2 (424, 2023-11-09)
templates/consul-client.service.j2 (305, 2023-11-09)
templates/consul-server.service.j2 (282, 2023-11-09)
templates/consul.sh.j2 (259, 2023-11-09)
templates/server.hcl.j2 (1129, 2023-11-09)
templates/server.json.j2 (706, 2023-11-09)
----
# ansible-role-hashicorp-consul
## Required variables
| Name | Type | Purpose |
| -----| ---- | ------- |
| consul_datacentre | string | give your Consul datacentre a proper name |
| consul_key | token | key used to secure comms between nodes |
## Default variables
| Name | Type | Value | Purpose |
| -----| ---- | ----- | ------- |
| consul_acl_default_policy | string | allow | ...or deny |
| consul_acl_dir | UnixPath | `/etc/consul/acl` | where ACL policies and intentions are kept (servers only) |
| consul_acl_enabled | Boolean | false ||
| consul_acl_subdirs | list(dict) | see `defaults/main.yml` ||
| consul_enable_ui | Boolean | false ||
| consul_bind_addr | IPV4 | 0.0.0.0 | set to privte IPV4 on metal |
| consul_builds | list(dict) | see `defaults/main.yml` ||
| consul_cfg_dir | UnixPath | `/etc/consul` | where the server or client config lives |
| consul_format | string | zip | used to form the name of the archive to download |
| consul_lib_dir | UnixPath | `/var/lib/consul` | where the data lives |
| consul_listener_addr | IPV4 | `127.0.0.1` ||
| consul_listener_port | UnixPort | 8500 ||
| consul_log_dir | UnixPath | `/var/log/consul` | where any logs live |
| consul_nodename | string | inventory hostname | sets the nodename attribute in client nodes |
| consul_role | string | oneOf(client,server) ||
| consul_servers | list(IPV4) | [] | IP addrs of the Consul server agents |
| consul_state | string | started | state of the consul service |
| consul_username | UnixUsername | consul ||
| consul_version | string | `defaults/main.yml` | version to run |
## Optional variables
| Name | Type | Purpose |
| -----| ---- | ------- |
| consul_primary_datacentre | string | needed if using ACLs or federation |
## Role Dependencies
- `ansible-role-hashicorp-common`
****
近期下载者:
相关文件:
收藏者: