5 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov
8b2240ccb3 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: I809637f2b012eed4c761d12870190d0a7b786825
2025-04-02 15:11:21 +00:00
Dmitriy Rabotyagov
79675d4c5f 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: Ibcbb660f39c067e68b699436ef2da0903c8500fd
2025-02-20 10:30:28 +01:00
Dmitriy Rabotyagov
8ceea78a97 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: I3905e334cfbeb7ccb976358016f81c5edd6cd284
2023-09-04 18:55:41 +02:00
Jonathan Rosser
a6001b7a36 Remove "warn" parameter from command module
This is removed in ansible 2.14.

Change-Id: I454908a306bfa5d6311261448ebefab6df1b20a7
2023-01-19 21:25:55 +00:00
Markos Chandras
1b42f8dce7 AppArmor: Handle required profiles for neutron services
The haproxy, dnsmasq and ping processes are being used by the Neutron
services so we need to manage these profiles on the physical host where
these services are located.

Change-Id: Ic79a6b5160baa5232be5eca06b3a4e004aa1f2ed
2018-09-28 14:46:49 +01:00