{"repo":"geerlingguy/ansible-role-php-versions","free":true,"listed":false,"github":"https://github.com/geerlingguy/ansible-role-php-versions","clone":"git clone https://github.com/geerlingguy/ansible-role-php-versions.git","description":"Ansible Role - PHP Versions","language":null,"stars":101,"topics":["ansible","role","php","versions","ondrej","remi","repository","centos","ubuntu","debian"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Ansible Role: PHP Versions Allows different PHP versions to be installed when using the geerlingguy.php role (or a similar role). This role was originally built for Drupal VM but was released more generically so others could use an easier mechanism for switching PHP versions. Requirements N/A Role Variables Available variables are listed below, along with default values (see defaults/main.yml ): php version: '8.3' The PHP version to be installed. Any currently-supported PHP major version is a valid option (e.g. 8.1 , 8.2 , or 8.3 ). php versions install recommends: false (For Debian OSes only) Whether to install recommended packages. This is set to no by default because setting it to yes often leads to multiple PHP versions being installed (thus making a bit of a mess) when using repos like Ondrej's PHP PPA for Ubuntu. Dependencies - geerlingguy.php is a soft dependency as the php version variable is required to be set. - geerlingguy.repo-remi, if you're using CentOS or a Red Hat derivative. Example Playbook - hosts: webservers become: true vars: php version: '8.3' roles: - name: geerlingguy.repo-remi when: ansible facts.os family == 'RedHat' - geerlingguy.php-versions - geerlingguy.php License MIT / BSD Author Information This role was created in 2017 by Jeff Geerling, author of Ansible for DevOps.","default_branch":null,"files":null,"tree":[],"storefront":"/r/geerlingguy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/geerlingguy/ansible-role-php-versions/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}