Skip to content

Cyberitas/ansible-role-php74_remi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: PHP 73

Ansible role to install PHP version 7.3 on RHEL/CentOS

Requirements

None.

Role Variables

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"

Dependencies

None.

Example Hosts

ansible.dev.cyberitas.com ansible_connection=local

[lamp]
ansible.dev.cyberitas.com

Example Playbook

# 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"

License

MIT

Author Information

Create in 2020 by Tom Emerson for Cyberitas Technologies, LLC

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages