mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-31 11:45:44 +02:00
Update to 2024-10-08 16:00
This commit is contained in:
@@ -135,9 +135,13 @@ acl {
|
||||
{{ key }} = {{ consul_conf.acl[key] | ternary('true', 'false') }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
default_policy = "{{ consul_conf.acl.default_policy }}"
|
||||
{% for key in ['token_ttl', 'policy_ttl', 'role_ttl', 'default_policy', 'down_policy', 'enable_key_list_policy'] %}
|
||||
{% if consul_conf.acl[key] is defined %}
|
||||
{{ key }} = "{{ consul_conf.acl[key] }}"
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
tokens {
|
||||
{% for key in ['initial_management', 'default', 'agent', 'agent_recovery', 'replication', 'config_file_service_registration'] %}
|
||||
{% for key in ['initial_management', 'default', 'agent', 'agent_recovery', 'replication', 'config_file_service_registration', 'dns'] %}
|
||||
{% if consul_conf.acl.tokens[key] is defined %}
|
||||
{{ key }} = "{{ consul_conf.acl.tokens[key] }}"
|
||||
{% endif %}
|
||||
@@ -180,8 +184,8 @@ auto_encrypt {
|
||||
|
||||
limits {
|
||||
{% for key in ['http_max_conns_per_client'] %}
|
||||
{%- if consul_conf.limits[key] is defined %}
|
||||
{% if consul_conf.limits[key] is defined %}
|
||||
{{ key }} = {{ consul_conf.limits[key] }}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
}
|
||||
|
Reference in New Issue
Block a user