mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fe4099c163
Refactor consul_session to support authentication with tokens (#6755)
* Split into separate PR
* Refactor test, add author to inactive maintainers
* Add changelog fragment and correct requirements section on module documentation
* Add changelog fragment and correct requirements section on module documentation
* Update changelogs/fragments/6755-refactor-consul-session-to-use-requests-lib-instead-of-consul.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Valerio Poggi <vrpoggigmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 242258eb53
)
Co-authored-by: Valerio Poggi <106782233+valeriopoggi@users.noreply.github.com>
19 lines
486 B
Django/Jinja
19 lines
486 B
Django/Jinja
{#
|
|
Copyright (c) Ansible Project
|
|
GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
SPDX-License-Identifier: GPL-3.0-or-later
|
|
#}
|
|
# {{ ansible_managed }}
|
|
server = true
|
|
pid_file = "{{ remote_dir }}/consul.pid"
|
|
ports {
|
|
http = 8500
|
|
https = 8501
|
|
}
|
|
key_file = "{{ remote_dir }}/privatekey.pem"
|
|
cert_file = "{{ remote_dir }}/cert.pem"
|
|
acl {
|
|
enabled = true
|
|
default_policy = "deny"
|
|
down_policy = "extend-cache"
|
|
}
|