mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 18:23:40 +02:00
Update to 2022-10-06 09:00
This commit is contained in:
parent
d9d938412c
commit
8d6e0aadbf
@ -1,5 +1,5 @@
|
||||
{% if consul_conf.server %}
|
||||
[[ with pkiCert "{{ consul_vault_secrets.pki.path }}/issue/{{ consul_vault_secrets.pki.role }}" "common_name=server-{{ ansible_fqdn | regex_replace('\\.', '-') }}.{{ consul_conf.datacenter | default('dc1') }}.{{ consul_conf.domain | default('consul') }}" "alt_names=localhost,consul.service.{{ consul_conf.domain | default('consul') }},server.{{ consul_conf.datacenter | default('dc1') }}.{{ consul_conf.domain | default('consul') }}" ]]
|
||||
[[ with pkiCert "{{ consul_vault_secrets.pki.path }}/issue/{{ consul_vault_secrets.pki.role }}" "common_name=server-{{ ansible_fqdn | regex_replace('\\.', '-') }}.{{ consul_conf.datacenter | default('dc1') }}.{{ consul_conf.domain | default('consul') }}" "alt_names=localhost,consul.service.{{ consul_conf.domain | default('consul') }},server.{{ consul_conf.datacenter | default('dc1') }}.{{ consul_conf.domain | default('consul') }}{% if consul_conf.alt_domain is defined %}consul.service.{{ consul_conf.alt_domain }},server.{{ consul_conf.datacenter | default('dc1') }}.{{ consul_conf.alt_domain }}{% endif %}" ]]
|
||||
[[ .CA ]]
|
||||
[[ .Cert ]]
|
||||
[[ .Key ]]
|
||||
|
@ -57,10 +57,10 @@ recursors = [
|
||||
|
||||
{% if consul_conf.domain is defined %}
|
||||
domain = "{{ consul_conf.domain }}"
|
||||
{% endif %}
|
||||
{% if consul_conf.alt_domain is defined %}
|
||||
alt_domain = "{{ consul_conf.alt_domain }}"
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
telemetry {
|
||||
prometheus_retention_time = "{{ consul_conf.telemetry.prometheus_retention_time }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user