Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronise 2023.1 with upstream #647

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Dec 9, 2024

This PR contains a snapshot of 2023.1 from upstream unmaintained/2023.1.

Ansible 2.16.14 includes a fix for CVE-2024-11079 [1], which results
in the following error:

    jinja2.exceptions.UndefinedError:
        'ansible.vars.hostvars.HostVarsVars
         object' has no attribute 'ansible_host'

This issue occurs because Ansible now includes `localhost` in
`hostvars` without the `ansible_host` variable set, which
unexpectedly breaks our test inventory rendering.

This patch adds a filter to exclude `localhost`
during the rendering process, as it is irrelevant for our purposes.

[1] ansible/ansible#84353

Change-Id: Ie7ae47e5a624da31cf6cc5cd3c9239450487b8ed
(cherry picked from commit 0298699)
@priteau priteau closed this Dec 9, 2024
@priteau priteau reopened this Dec 9, 2024
@priteau priteau enabled auto-merge December 9, 2024 12:24
@priteau priteau merged commit f0f2811 into stackhpc/2023.1 Dec 9, 2024
3 checks passed
@priteau priteau deleted the upstream/2023.1-2024-12-09 branch December 9, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants