{"id":14968588,"url":"https://github.com/geerlingguy/ansible-role-php-versions","last_synced_at":"2025-04-04T15:11:45.889Z","repository":{"id":21144161,"uuid":"91829427","full_name":"geerlingguy/ansible-role-php-versions","owner":"geerlingguy","description":"Ansible Role - PHP Versions","archived":false,"fork":false,"pushed_at":"2025-01-31T03:21:37.000Z","size":80,"stargazers_count":98,"open_issues_count":3,"forks_count":76,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T14:11:30.367Z","etag":null,"topics":["ansible","centos","debian","drupal","ondrej","php","remi","repository","role","ubuntu","versions"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/geerlingguy/php-versions/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geerlingguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"geerlingguy","patreon":"geerlingguy"}},"created_at":"2017-05-19T17:22:40.000Z","updated_at":"2025-01-31T02:55:25.000Z","dependencies_parsed_at":"2024-01-25T04:46:31.907Z","dependency_job_id":"402529fc-c469-4efd-b046-2e353d31453a","html_url":"https://github.com/geerlingguy/ansible-role-php-versions","commit_stats":{"total_commits":89,"total_committers":13,"mean_commits":6.846153846153846,"dds":0.2696629213483146,"last_synced_commit":"39c7aa26f87ce7fa389e8dba0acdb42894b7684c"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-php-versions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-php-versions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-php-versions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-php-versions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geerlingguy","download_url":"https://codeload.github.com/geerlingguy/ansible-role-php-versions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247198469,"owners_count":20900081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","centos","debian","drupal","ondrej","php","remi","repository","role","ubuntu","versions"],"created_at":"2024-09-24T13:40:15.185Z","updated_at":"2025-04-04T15:11:45.872Z","avatar_url":"https://github.com/geerlingguy.png","language":null,"funding_links":["https://github.com/sponsors/geerlingguy","https://patreon.com/geerlingguy"],"categories":[],"sub_categories":[],"readme":"# Ansible Role: PHP Versions\n\n[![CI](https://github.com/geerlingguy/ansible-role-php-versions/actions/workflows/ci.yml/badge.svg)](https://github.com/geerlingguy/ansible-role-php-versions/actions/workflows/ci.yml)\n\nAllows different PHP versions to be installed when using the `geerlingguy.php` role (or a similar role). This role was originally built for [Drupal VM](https://www.drupalvm.com) but was released more generically so others could use an easier mechanism for switching PHP versions.\n\n## Requirements\n\nN/A\n\n## Role Variables\n\nAvailable variables are listed below, along with default values (see `defaults/main.yml`):\n\n    php_version: '8.3'\n\nThe PHP version to be installed. Any [currently-supported PHP major version](http://php.net/supported-versions.php) is a valid option (e.g. `8.1`, `8.2`, or `8.3`).\n\n    php_versions_install_recommends: false\n\n(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.\n\n## Dependencies\n\n  - geerlingguy.php is a soft dependency as the `php_version` variable is required to be set.\n  - geerlingguy.repo-remi, if you're using CentOS or a Red Hat derivative.\n\n## Example Playbook\n\n    - hosts: webservers\n      become: true\n    \n      vars:\n        php_version: '8.3'\n    \n      roles:\n        - name: geerlingguy.repo-remi\n          when: ansible_os_family == 'RedHat'\n        - geerlingguy.php-versions\n        - geerlingguy.php\n\n## License\n\nMIT / BSD\n\n## Author Information\n\nThis role was created in 2017 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fansible-role-php-versions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeerlingguy%2Fansible-role-php-versions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fansible-role-php-versions/lists"}