mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-23 13:43:18 +02:00
Update to 2022-08-11 12:00
This commit is contained in:
parent
9d4a3e4947
commit
2594e58276
@ -77,8 +77,14 @@ consul_base_conf:
|
|||||||
prometheus_retention_time: 1h
|
prometheus_retention_time: 1h
|
||||||
|
|
||||||
connect:
|
connect:
|
||||||
|
# Enable consul service mesh on servers
|
||||||
enabled: "{{ (inventory_hostname in consul_servers | map('regex_replace', ':\\d+$', '')) | ternary(True, False) }}"
|
enabled: "{{ (inventory_hostname in consul_servers | map('regex_replace', ':\\d+$', '')) | ternary(True, False) }}"
|
||||||
|
|
||||||
|
acl:
|
||||||
|
enabled: False
|
||||||
|
# The default_policy is also used for intentions in the service mesh
|
||||||
|
default_policy: deny
|
||||||
|
|
||||||
consul_extra_conf: {}
|
consul_extra_conf: {}
|
||||||
consul_host_conf: {}
|
consul_host_conf: {}
|
||||||
consul_conf: "{{ consul_base_conf | combine(consul_extra_conf, recursive=True) | combine(consul_host_conf, recursive=True) }}"
|
consul_conf: "{{ consul_base_conf | combine(consul_extra_conf, recursive=True) | combine(consul_host_conf, recursive=True) }}"
|
||||||
|
@ -71,3 +71,8 @@ connect {
|
|||||||
enabled = true
|
enabled = true
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
acl {
|
||||||
|
enabled = {{ consul_conf.acl.enabled | ternary('true', 'false') }}
|
||||||
|
default_policy = "{{ consul_conf.acl.default_policy }}"
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user