Comments (3)
@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.
from ansible-role-php-versions.
@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)!
from ansible-role-php-versions.
@ctorgalson you can use a group or host var to override this.
from ansible-role-php-versions.
Related Issues (20)
- Add Debian 9 on Molecule HOT 2
- Task adding the Ondrej Sury's apt key tries to download it every time HOT 5
- It would be nice for upgrades, if you could note PHP versions that no longer need to be installed HOT 2
- Php 8.0 install error caused by php-json HOT 10
- Role is not present in the Ansible Galaxy HOT 3
- ansible-lint still sees errors HOT 1
- using php_version: '7.4' installs php 8.0 HOT 4
- The goal of this role!? HOT 1
- php8.0-json is part of PHP HOT 6
- [ERROR] Could not find the requested service php7.4-fpm HOT 4
- Fails on RHEL 8 when attempting to enable the PowerTools repo HOT 6
- Question: Is it possible to install 2 or more PHP versions at the same time? HOT 2
- please add dnf module reset -y php HOT 2
- The `php_install_recommends` value is created and not honoured. HOT 3
- Ensure dnf-plugins are installed on CentOS 8+. HOT 1
- Using 7.1 as php_version installs 8.2 and some 7.1 HOT 2
- Debian 12 php8.1-yaml unavailble HOT 2
- keep php versions already installed HOT 2
- adding modules HOT 3
- Failed to update apt cache
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-php-versions.