Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/clouddrove/ansible-role-docker-php

This ansible ro used to install PHP with docker on linux.
https://github.com/clouddrove/ansible-role-docker-php

ansible ansible-commands clouddrove devops docker php php-fpm playbook role

Last synced: about 16 hours ago
JSON representation

This ansible ro used to install PHP with docker on linux.

Awesome Lists containing this project

README

        


Ansible Role Docker PHP


This Ansible role install PHP On Ubuntu, CentOS Amazon-Linux With Docker.


Ansible


Licence


Distribution


Distribution


Distribution


Actions












We eat, drink, sleep and most importantly love **DevOps**. DevOps always promotes automation and standardisation. While setting up various environments like local, dev, testing, production, etc. it is critical to maintain the same environment across. This can easily be achieved using automating the environment setup & installation with the help of ansible-playbooks.

Smaller roles are created for each environment elements; which also include tasks & tests. These roles can then be grouped together in [ansible-playbook](https://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html) to achieve the desired yet consistent results.

## Prerequisites

This module has a few dependencies:

- [Ansible2.9](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html)
- [Python](https://www.python.org/downloads)
- [Docker](https://docs.docker.com/install/linux/docker-ce/ubuntu)

## What Includes

Following things includes in this role:

- Php-8.0
- Php-fpm
- Pecl
- Composer

## Example Playbook

**IMPORTANT:** Since the `master` branch used in `source` varies based on new modifications, we suggest that you use the release versions [here](https://github.com/clouddrove/ansible-role-docker-php/releases).

```yaml
- hosts: localhost
remote_user: root
roles:
- clouddrove.ansible_role_docker_php
```

## Variables

```yaml
php_version: 8.0.7-fpm
php_user: www-data
php_group: www-data
php_opt_dir: "/opt/php"
php_config_dir: "{{ php_opt_dir }}/config"
```

## Installation

```console
$ ansible-galaxy install clouddrove.ansible_role_docker_php
```

## Feedback
If you come accross a bug or have any feedback, please log it in our [issue tracker](https://github.com/clouddrove/ansible-role-docker-php/issues), or feel free to drop us an email at [[email protected]](mailto:[email protected]).

If you have found it worth your time, go ahead and give us a ★ on [our GitHub](https://github.com/clouddrove/ansible-role-docker-php)!

## About us

At [CloudDrove][website], we offer expert guidance, implementation support and services to help organisations accelerate their journey to the cloud. Our services include docker and container orchestration, cloud migration and adoption, infrastructure automation, application modernisation and remediation, and performance engineering.

We are The Cloud Experts!




We ❤️ Open Source and you can check out our other modules to get help with your new Cloud ideas.

[website]: https://clouddrove.com
[github]: https://github.com/clouddrove
[linkedin]: https://cpco.io/linkedin
[twitter]: https://twitter.com/clouddrove/
[email]: https://clouddrove.com/contact-us.html
[terraform_modules]: https://github.com/clouddrove?utf8=%E2%9C%93&q=terraform-&type=&language=