3 Commits
Author SHA1 Message Date
Bertrand Lanson 94bb10a5ee Add host_aggregate_info module
This module allows operators to get informations on
compute aggregates in a cluster, including availability zone
informations and hosts membership.

Change-Id: I14fa8d6914072bee314efa3753633933b21e9439
Signed-off-by: Bertrand Lanson <bertrand.lanson@infomaniak.com>
2026-05-19 21:07:30 +02:00
Bertrand Lanson 7644aeaf32 Fix unit test helpers for ansible-core 2.19+
ansible-core 2.19 introduced _ANSIBLE_PROFILE alongside _ANSIBLE_ARGS.
set_module_args() in utils.py and test_baremetal_port_group.py only set
_ANSIBLE_ARGS, causing "No serialization profile was specified" errors.
Set _ANSIBLE_PROFILE to 'legacy' to match the pre-2.19 behavior.

Change-Id: I1073f347ce18f061b5fa099442a6b6aa10c42507
Signed-off-by: Bertrand Lanson <bertrand.lanson@infomaniak.com>
2026-05-19 21:07:30 +02:00
Bertrand Lanson 836d7410b2 Ignore common python files in .gitignore
Quick quality of life improvement.

Change-Id: I4f7291190f2480fe7c78cc0d3462d59578ff6242
Signed-off-by: Bertrand Lanson <bertrand.lanson@infomaniak.com>
2026-05-19 20:55:25 +02:00