You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We just found out about and started to test this role alongside your geerlingguy.php role (thanks for these!)
Unfortunately, we've found that this role makes it impossible to customize geerlingguy.php's php_packages variable. I'm fairly sure this isn't a case of us misunderstanding the use or one or both roles, but I guess that's always a possibility 😄.
For example, the following variable definition in a playbook works unless the geerlingguy.php-versions role is used:
I've created a git repo containing a playbook and Vagrantfile to demonstrate both the working and non-working configurations: https://github.com/ctorgalson/php-versions
The text was updated successfully, but these errors were encountered:
@oxyc and I wrote this role mostly to make it super easy for people to switch between 5.6, 7.0, 7.1, and 7.2 on Drupal VM (https://www.drupalvm.com), and only when used in tandem with geerlingguy.php.
That said, if you just want to add packages to the list, the best way is to use the php_packages_extra variable in the geerlingguy.php role, and add additional packages there.
I admit the use case of this role is slightly narrow in that, if you don't need all the packages this role manages, and can't live with the extra packages being installed, then the best option is to fork the role and customize it to your needs—or as you say, drop using this role and manage the php_packages list entirely on your own.
@oxyc and I wrote this role mostly to make it super easy for people to switch between 5.6, 7.0, 7.1, and 7.2 on Drupal VM.
Fair enough. We'd been managing the php versions aspect manually up til now in any case. Thanks for the feedback (and also for the million-and-one roles)!
Greetings.
We just found out about and started to test this role alongside your
geerlingguy.php
role (thanks for these!)Unfortunately, we've found that this role makes it impossible to customize
geerlingguy.php
'sphp_packages
variable. I'm fairly sure this isn't a case of us misunderstanding the use or one or both roles, but I guess that's always a possibility 😄.For example, the following variable definition in a playbook works unless the
geerlingguy.php-versions
role is used:I've created a git repo containing a playbook and Vagrantfile to demonstrate both the working and non-working configurations: https://github.com/ctorgalson/php-versions
The text was updated successfully, but these errors were encountered: