{"id":16060865,"url":"https://github.com/geerlingguy/ansible-role-php-redis","last_synced_at":"2025-03-18T05:30:29.005Z","repository":{"id":63292737,"uuid":"47896050","full_name":"geerlingguy/ansible-role-php-redis","owner":"geerlingguy","description":"Ansible Role - PhpRedis","archived":false,"fork":false,"pushed_at":"2025-01-31T03:25:34.000Z","size":49,"stargazers_count":21,"open_issues_count":0,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-28T07:11:59.533Z","etag":null,"topics":["ansible","extension","php","phpredis","redis","role"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/geerlingguy/php-redis/","language":"PHP","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":"2015-12-12T21:55:50.000Z","updated_at":"2025-01-31T03:25:38.000Z","dependencies_parsed_at":"2024-01-25T04:46:19.213Z","dependency_job_id":"ce560676-f1b4-45b0-a955-deb326245802","html_url":"https://github.com/geerlingguy/ansible-role-php-redis","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-php-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-php-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-php-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-php-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geerlingguy","download_url":"https://codeload.github.com/geerlingguy/ansible-role-php-redis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243902293,"owners_count":20366260,"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","extension","php","phpredis","redis","role"],"created_at":"2024-10-09T04:06:51.805Z","updated_at":"2025-03-18T05:30:28.991Z","avatar_url":"https://github.com/geerlingguy.png","language":"PHP","funding_links":["https://github.com/sponsors/geerlingguy","https://patreon.com/geerlingguy"],"categories":[],"sub_categories":[],"readme":"# Ansible Role: PhpRedis\n\n[![CI](https://github.com/geerlingguy/ansible-role-php-redis/actions/workflows/ci.yml/badge.svg)](https://github.com/geerlingguy/ansible-role-php-redis/actions/workflows/ci.yml)\n\nInstalls PhpRedis support on Linux.\n\n## Requirements\n\nThis role doesn't *explicitly* require Redis to be installed, but if you don't have the daemon running somewhere (either on the same server, or somewhere else), this role won't be all that helpful. Check out `geerlingguy.redis` for a simple role to install and configure Redis (either on the same server, or separate servers).\n\nOn newer RHEL systems, you should also install EPEL (I use the `geerlingguy.repo-epel` role to install this).\n\n## Role Variables\n\nAvailable variables are listed below, along with default values (see `defaults/main.yml`):\n\n    php_enablerepo: epel\n\n(RedHat/CentOS only) If you have enabled any additional repositories (might I suggest geerlingguy.repo-epel or geerlingguy.repo-remi), those repositories can be listed under this variable (e.g. `remi,epel`). This can be handy, as an example, if you want to install the latest version of PHP from Remi's repository.\n\n    php_redis_package: php-redis\n\n(Default for Debian/Ubuntu shown). If installing from apt or yum, which package to install which provides the PhpRedis extension.\n\n### Install from source\n\nIf you want to install PhpRedis directly from source (if you're on an OS that doesn't have it available as a package, or if you want a newer version than is available through your package manager), you can use the variables below to configure the source installation:\n\n    php_redis_install_from_source: false\n\nWhether to install PhpRedis from source. If you'd like to install a specific version of PhpRedis not available via the system package manager, you can compile the extension from source.\n\n    php_redis_source_repo: https://github.com/phpredis/phpredis.git\n\nThe git repository for the PhpRedis extension.\n\n    php_redis_source_version: develop\n\nThe branch, tag, or commit hash to use when cloning the source repository. Can be a branch (e.g. `develop` or `php7`), a tag (e.g. `2.2.7`), or a commit hash (e.g. `5241a5c`).\n\n    php_redis_source_clone_dir: ~/phpredis\n\nThe location where the PhpRedis source code will be cloned locally.\n\n    php_redis_source_configure_command: \"./configure\"\n\nThe command to configure a PhpRedis source install. You can modify this command if you want to do something like add `--enable-redis-igbinary`.\n\n## Dependencies\n\n  - geerlingguy.php\n\n## Example Playbook\n\n    - hosts: webservers\n      roles:\n        - { role: geerlingguy.repo-epel }\n        - { role: geerlingguy.php-redis }\n\n## License\n\nMIT / BSD\n\n## Author Information\n\nThis role was created in 2015 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-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeerlingguy%2Fansible-role-php-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fansible-role-php-redis/lists"}