php
Ontic PHP
Branch | Build | Galaxy | Release |
---|---|---|---|
master |
Introduction
This role installs PHP on RedHat/CentOS and Debian/Ubuntu Linux servers.
Requirements
Name | Version |
---|---|
None | N/A |
Installation
We strongly suggest installing this role using Ansible Galaxy so that any dependencies will get resolved and downloaded automatically. However, we've listed a few other alternatives.
1.1 Downloading
Download the project files as a .zip
archive, extracting them into your ./roles/
directory.
1.2 Cloning
Clone the project it into your ./roles/
directory.
1.3 Ansible Galaxy
The easiest way to install this module is via the command line:
$ ansible-galaxy install ontic.php
If you have multiple roles to install, the ansible-galaxy CLI can be fed a requirements.yml
file.
- src: ontic.php
$ ansible-galaxy install -r requirements.yml
Alternatively you could download the source by setting the repository in your requirements.yml
file:
- src: git+https://github.com/ontic/ansible-role-php.git
version: master
name: ontic.php
2.1 Enabling
Enable the role in your playbook file.
- name: Example web server
hosts: web_servers
roles:
- { role: ontic.php }
Documentation
Full documentation is available in the docs directory.
Contributors
Below lists all individuals having contributed to the repository. If you would like to get involved, we encourage you to do so by making a pull request or submitting an issue.
License
Licensed under the BSD License. See the LICENSE file for details.