php

Ansible PHP

CI

Install and configure PHP with Ansible.

Requirements

None

Tested plateforms

  • Debian 10 (Buster)
  • Debian 11 (Bullseye)
  • Debian 12 (Bookworm)

Role Variables

List of packages instaled by the role. It's not yet possible to install php from source.

php_packages:
  - "php{{php_default_version_debian}}"

The default version value is defined in the vars folder, based on the Debian version.

Name of the webserver daemon used by PHP. For example, apache2, httpd, nginx... Needed.

php_webserver_daemon: "apache2"

Examples

---
- hosts: somehost
  roles:
    - supertarto.php

Installation

ansible-galaxy role install supertarto.php

License

GPL V3.0

About

Install and configure PHP

Install
ansible-galaxy install supertarto/ansible-php
GitHub repository
License
gpl-3.0
Downloads
1019
Owner