mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-04 01:13:00 +00:00
consul integration tests: re-enable on macOS (#11697)
* consul integration tests: re-enable on macOS
- Update consul version to 1.22.6
- Add arm64/aarch64 architecture support
- Fix macOS Gatekeeper quarantine on downloaded binary
- Add wait_for before ACL bootstrap (race condition fix)
- Update HCL config to use tls stanza (required in 1.22)
- Disable gRPC port (conflicts with tls stanza when not configured)
- Remove skip/macos from aliases
Fixes: https://github.com/ansible-collections/community.general/issues/1016
* changelogs/fragments: add PR number for consul tests fix
* remove changelog fragment (test-only PR)
---------
(cherry picked from commit 8b114e999e)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
606 B
Django/Jinja
26 lines
606 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
|
|
grpc = -1
|
|
}
|
|
tls {
|
|
defaults {
|
|
key_file = "{{ remote_dir }}/privatekey.pem"
|
|
cert_file = "{{ remote_dir }}/cert.pem"
|
|
verify_incoming = false
|
|
verify_outgoing = false
|
|
}
|
|
}
|
|
acl {
|
|
enabled = true
|
|
default_policy = "deny"
|
|
down_policy = "extend-cache"
|
|
}
|