All Projects → geerlingguy → ansible-role-php-versions

geerlingguy / ansible-role-php-versions

Licence: MIT license
Ansible Role - PHP Versions

Projects that are alternatives of or similar to ansible-role-php-versions

Ansible Role Repo Epel
Ansible Role - EPEL Repository for RHEL/CentOS
Stars: ✭ 149 (+91.03%)
Mutual labels:  repository, centos, role
ansible-role-backup
Ansible Role - Backup for simple servers
Stars: ✭ 122 (+56.41%)
Mutual labels:  debian, centos, role
Patchman
Patchman is a Linux Patch Status Monitoring System
Stars: ✭ 163 (+108.97%)
Mutual labels:  debian, repository, centos
ansible-role-daemonize
Ansible Role - Daemonize.
Stars: ✭ 14 (-82.05%)
Mutual labels:  debian, centos, role
Ansible Role Apache
Ansible Role - Apache 2.x.
Stars: ✭ 341 (+337.18%)
Mutual labels:  debian, centos, role
Ansible Role Security
Ansible Role - Security
Stars: ✭ 398 (+410.26%)
Mutual labels:  debian, centos, role
Ansible Role Firewall
Ansible Role - iptables Firewall configuration.
Stars: ✭ 343 (+339.74%)
Mutual labels:  debian, centos, role
Ansible Role Docker
Ansible Role - Docker
Stars: ✭ 845 (+983.33%)
Mutual labels:  debian, centos, role
Mtprotoproxyinstaller
One-click script to install MTProto Proxy server on CentOS, Ubuntu and Debian
Stars: ✭ 216 (+176.92%)
Mutual labels:  debian, centos
Kvm Install Vm
Bash script to build local virtual machines using KVM/libvirt and cloud-init.
Stars: ✭ 248 (+217.95%)
Mutual labels:  debian, centos
ansible-role-drupal
Ansible Role - Drupal
Stars: ✭ 80 (+2.56%)
Mutual labels:  drupal, role
Lamp
Install LAMP(Linux + Apache + MySQL/MariaDB + PHP ) for CentOS/Debian/Ubuntu
Stars: ✭ 2,456 (+3048.72%)
Mutual labels:  debian, centos
Ansible Role Hardening
Ansible role to apply a security baseline. Systemd edition.
Stars: ✭ 188 (+141.03%)
Mutual labels:  debian, centos
awesome-sysadmin-tools
Collection of links and resources for sysadmins and Drupal lovers
Stars: ✭ 17 (-78.21%)
Mutual labels:  drupal, debian
Openvpn Install
OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora
Stars: ✭ 14,199 (+18103.85%)
Mutual labels:  debian, centos
Ansipress
AnsiPress - Simple L(Linux) E(NGINX) M(MariaDB) P(PHP7) Shared Hosting Setup
Stars: ✭ 184 (+135.9%)
Mutual labels:  drupal, debian
debianopt-repo
Additional debian repository for awesome open-source projects.
Stars: ✭ 47 (-39.74%)
Mutual labels:  debian, repository
wsl-distrod
Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with systemd in a minute for you. Distrod also has built-in auto-start feature on Windows startup and port forwarding ability.
Stars: ✭ 1,637 (+1998.72%)
Mutual labels:  debian, centos
ansible-haproxy
Installs and configures HAProxy
Stars: ✭ 19 (-75.64%)
Mutual labels:  debian, centos
ipv6-dhclient-script
IPv6 w/ dhclient configuration script (Debian/RedHat-based distros)
Stars: ✭ 68 (-12.82%)
Mutual labels:  debian, centos

Ansible Role: PHP Versions

CI

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: '7.4'

The PHP version to be installed. Any currently-supported PHP major version is a valid option (e.g. 7.3, 7.4, or 8.0).

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: '7.4'

  roles:
    - name: geerlingguy.repo-remi
      when: ansible_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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].