Bump ansible-core
to address package support issues
#1303
Merged
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.
Thursday's latest deploy to the staging environment caused an error with the following message:
ModuleNotFoundError: No module named 'ansible.module_utils.six.moves'
ubuntu-latest
was recently updated to Ubuntu 24.0.1, updated from the recent 22 LTS. This suggests that the previously packaged python six module wasn't included by default in 24 as it was in 22.Running the following would also address this error:
But after checking the ansible-core release versions, we've long since been at EOL (Nov 2022). So I'd like to take the chance to bump ansible-core from
2.11
to2.16
. I've also confirmed this builds and deploys as expected with minimal changes to the tasks (usinginclude_tasks
orimport_tasks
in place ofinclude
, introduced inansible-core 2.12
).