7 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov
39e63a5a9c Auto-fix usage of modules via FQCN
Since ansible-core 2.10 it is recommended to use modules via FQCN
In order to align with recommendation, we perform migration
by applying suggestions made by `ansible-lint --fix=fqcn`

Change-Id: I1b52823d675a31559254b263e0f04c908306c73b
2025-02-17 12:29:59 +01:00
Dmitriy Rabotyagov
6052446811 Auto-fix yaml rules
In order to reduce divergance with ansible-lint rules, we apply
auto-fixing of violations.

In current patch we replace all kind of truthy variables with
`true` or `false` values to align with recommendations along with
alignment of used quotes.

Change-Id: Idc1c7bdd802c3c199120110b665d977ad2883918
2025-02-17 12:28:50 +01:00
Neil Hanlon
c8637fb427 update zookeeper to 3.8.3
zookeeper 3.7.x is out of support and will stop receiving security fixes
in ~ 3 months (on 2024-01-19). 3.8.X should be in support for some time
longer.

log4j.properties was removed, but a logback config was added.

Change-Id: Ifb6af02abc9e889534f6620b296a9c5c8f0b8b6e
Signed-off-by: Neil Hanlon <neil@shrug.pw>
2023-10-09 19:13:26 +00:00
Dmitriy Rabotyagov
6c783cde78 Fix linters and metadata
With update of ansible-lint to version >=6.0.0 a lot of new
linters were added, that enabled by default. In order to comply
with linter rules we're applying changes to the role.

With that we also update metdata to reflect current state.

Depends-On: https://review.opendev.org/c/openstack/ansible-role-systemd_service/+/888223
Change-Id: Iaa81bfe9c524d9818d19019d5a09cf8e817d8396
2023-07-18 09:32:19 +00:00
Dmitriy Rabotyagov
6c79bd9bb5 Ensure zookeeper is not stopped after role re-run
Due to mis-usage of systemd_service role inlcude, zookeeper service
was stopped on sequental role runs, when nothing was changed.

Change-Id: I678d60f922273ead46ad51360b6b60a1a13e1f60
2023-01-23 17:50:29 +01:00
Dmitriy Rabotyagov
4e9f5323c4 Add SSL support for zookeeper
This patch aim to add support for TLS encryption both for client and
quorum.

Depends-On: https://review.opendev.org/c/openstack/ansible-role-pki/+/865420
Change-Id: I171e0c587296d2a7eac126863eb8efa303a05a8c
2022-11-29 15:16:51 +00:00
Dmitriy Rabotyagov
73ab4bafc9 Initial commit to zookeeper role
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/864750
Change-Id: I19fc960131d1bebc7afcb2a9d0d8e0390936d75f
2022-11-17 14:41:02 +00:00