Repository navigation
Use Ansible 13 - #43
Open
StykMartin wants to merge 9 commits into
Open
StykMartin wants to merge 9 commits into
StykMartin wants to merge 9 commits into
Conversation
StykMartin
force-pushed
the
wip/mstyk/2.20
branch
3 times, most recently
from
March 17, 2026 17:25
dc3b424 to
5848fe6
Compare
StykMartin
force-pushed
the
wip/mstyk/2.20
branch
13 times, most recently
from
March 17, 2026 18:57
680b14f to
61cb276
Compare
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Signed-off-by: Martin Styk <mart.styk@gmail.com>
StykMartin
force-pushed
the
wip/mstyk/2.20
branch
from
March 17, 2026 19:06
61cb276 to
8a06681
Compare
DEFAULT_MANAGED_STR in ansible.cfg is deprecated in ansible-core 2.20. Set it as a regular variable instead. Signed-off-by: Martin Styk <mart.styk@gmail.com>
StykMartin
force-pushed
the
wip/mstyk/2.20
branch
from
March 17, 2026 19:24
59e1226 to
4738b48
Compare
Signed-off-by: Martin Styk <mart.styk@gmail.com>
StykMartin
force-pushed
the
wip/mstyk/2.20
branch
from
March 17, 2026 19:27
4738b48 to
c4deeab
Compare
StykMartin
marked this pull request as ready for review
March 17, 2026 19:32
There was a problem hiding this comment.
Pull request overview
Updates the infrastructure Ansible codebase to align with “Ansible 13” expectations by modernizing module usage (FQCN), refreshing dependency/config layout, and adding Molecule-based CI coverage.
Changes:
- Switch playbooks/roles to use
ansible.builtin.*FQCNs and remove legacy/obsolete tasks and the Mitogen strategy shim. - Introduce Molecule scenarios (role + smoke) and GitHub Actions workflows to run Molecule and ansible-lint in CI.
- Restructure dependency management to include required collections and install external Galaxy roles into
.external_roles.
Reviewed changes
Copilot reviewed 16 out of 18 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
roles/base/tasks/main.yml |
Uses FQCN for built-in modules, removes legacy tasks, and normalizes some task naming. |
roles/base/handlers/main.yml |
Updates handler to use FQCN and explicit change reporting. |
roles/base/molecule/default/molecule.yml |
Adds Molecule scenario for the base role using Docker. |
roles/base/molecule/default/converge.yml |
Adds converge play for the base role scenario. |
roles/base/molecule/default/verify.yml |
Adds verification assertions for key base role outcomes. |
molecule/smoke/molecule.yml |
Adds Docker-based Molecule “smoke” scenario configuration. |
molecule/smoke/converge.yml |
Adds smoke scenario converge play running multiple roles. |
.github/workflows/molecule.yml |
Adds CI workflow to run Molecule role tests and smoke tests. |
.github/workflows/ansiblelint.yml |
Updates CI lint workflow steps and installs collections/roles via Galaxy. |
requirements.yml |
Splits Galaxy dependencies into collections + roles. |
requirements.txt |
Updates Python deps to use ansible-core and a newer ansible-lint. |
ansible.cfg |
Simplifies config and updates roles_path for .external_roles. |
group_vars/all/main.yml |
Adds global ansible_managed string. |
.ansible-lint |
Excludes .external_roles and updates skip-list settings. |
playbooks/web.yml |
Converts tasks to FQCN and normalizes some package states. |
playbooks/mail.yml |
Converts include_role usage to FQCN. |
.gitignore |
Updates note about external roles (but does not yet ignore .external_roles). |
plugins/strategy/mitogen_linear.py |
Removes the Mitogen strategy proxy module. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Collaborator
Author
|
@duck-rh can you check? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.