Skip to content

apt_install: fix template for Ansible 2.19#2676

Open
Alphix wants to merge 1 commit intodebops:masterfrom
Alphix:apt-install_template_update
Open

apt_install: fix template for Ansible 2.19#2676
Alphix wants to merge 1 commit intodebops:masterfrom
Alphix:apt-install_template_update

Conversation

@Alphix
Copy link
Copy Markdown
Contributor

@Alphix Alphix commented Apr 7, 2026

The switch to using the native Jinja mode in Ansible 2.19 seems to have broken the apt_install package template. The scope of the apt_install__tpl_package_list variable stays local to the macro, meaning that the list will always be empty on the global scope.

The switch to using the native mode in Ansible 2.19 seems to have broken
the apt_install package template. The scope of the
apt_install__tpl_package_list variable stays local to the macro, meaning
that the list will always be empty on the global scope.
@Alphix Alphix requested a review from drybjed as a code owner April 7, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant