roots / trellis

WordPress LEMP stack with PHP 8.2, Composer, WP-CLI and more
https://roots.io/trellis/
MIT License
2.51k stars 607 forks source link

Update Ansible compatibility + support #1300

Closed swalkinshaw closed 2 years ago

swalkinshaw commented 3 years ago

Summary

Trellis is pretty far behind on supporting Ansible versions. Ideally we stay more up to date on a regular basic, but in the meantime we should target supporting 4.x

https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html

Motivation

Why are we doing this? What use cases does it support? What is the expected outcome?

Additional context

Ansible also did some large updates around "collections" which we haven't done anything to properly support. Ref: https://docs.ansible.com/ansible/latest/user_guide/collections_using.html

swalkinshaw commented 2 years ago

https://github.com/roots/trellis/pull/1337 gets passed the first Ansible 2.11 compatibility issue at least.

Also the Ansible versioning world is very confusing right now. https://blog.while-true-do.io/ansible-release-3-0-0/ is a decent attempt to explain the insanity.

swalkinshaw commented 2 years ago

Trellis supports Ansible >= 2.10 now