Ansible role to install PHP version 7.3 on RHEL/CentOS
None.
Additional php extensions are installed when passed in as list items in group_vars and host_vars. The php_modules_additional takes a list of php extensions to be added in all environments.
php_modules_additional:
- php-pecl-memcache
The php_modules-devel variable takes a list of php extensions to be installed in the development environment.
php_modules_devel:
- php-devel
Other optional variables include a version number.
php_version: "7.3"
None.
ansible.dev.cyberitas.com ansible_connection=local
[lamp]
ansible.dev.cyberitas.com
# play.yml
# ansible-playbook -i hosts play.yml --become
---
- hosts: all
roles:
- role: php73remi
# This makes vagrant work for elevated privileges
# become: yes
# become_user: "root"
# become_method: "sudo"
MIT
Create in 2020 by Tom Emerson for Cyberitas Technologies, LLC