mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
13 lines
351 B
Django/Jinja
13 lines
351 B
Django/Jinja
# {{ ansible_managed }}
|
|
server = true
|
|
pid_file = "{{ remote_dir }}/consul.pid"
|
|
ports {
|
|
http = 8500
|
|
{% if pyopenssl_version.stdout is version('0.15', '>=') %}
|
|
https = 8501
|
|
{% endif %}
|
|
}
|
|
{% if pyopenssl_version.stdout is version('0.15', '>=') %}
|
|
key_file = "{{ remote_dir }}/privatekey.pem"
|
|
cert_file = "{{ remote_dir }}/cert.pem"
|
|
{% endif %}
|