Skip to content

Conversation

@swalkinshaw
Copy link
Member

@swalkinshaw swalkinshaw commented Oct 18, 2025

Close #1599

Reference: https://docs.ansible.com/projects/ansible-core/devel/porting_guides/porting_guide_core_2.19.html

Various Ansible 2.19+ compatibility fixes. Including:

  • Many fixes for implicit boolean conversions in templates. Now they are explicit.
  • Issues with become not inheriting in handlers from playbooks. Now they are set explicitly.
  • Updating how undefined values are referenced. Switches to using the in operator.
  • Fix Python interpreter for CI

@swalkinshaw swalkinshaw force-pushed the ansible-2.19-support branch 5 times, most recently from 2b00412 to d31b64b Compare October 19, 2025 20:13
@swalkinshaw swalkinshaw force-pushed the ansible-2.19-support branch from d31b64b to d2e9228 Compare January 4, 2026 22:33
swalkinshaw and others added 3 commits January 12, 2026 22:18
Sets ansible_python_interpreter to /usr/bin/python3 for CI tests
running against localhost. This ensures Ansible uses system Python
where apt-installed python3-pymysql is available, rather than the
virtualenv Python which lacks MySQL libraries.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Ansible 2.19's stricter templating no longer implicitly converts
string dict literals to actual dicts. Use Jinja2's dict() constructor
with zip() to properly build the letsencrypt_cert_ids dictionary.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Ansible 2.19's stricter undefined handling causes errors when using
'is defined' on nested dict attributes that don't exist. Use the 'in'
operator to safely check for optional keys in ssl and xmlrpc configs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@swalkinshaw swalkinshaw merged commit a8b88f1 into master Jan 13, 2026
2 checks passed
@swalkinshaw swalkinshaw deleted the ansible-2.19-support branch January 13, 2026 03:59
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.

ansible-core 2.19 breaks trellis

1 participant