Skip to content

Commit 9045613

Browse files
author
Sohan Yadav
authored
Merge branch 'master' into CD-339
2 parents fa627ae + e5409b4 commit 9045613

File tree

3 files changed

+46
-26
lines changed

3 files changed

+46
-26
lines changed

README.md

Lines changed: 40 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
<!-- This file was automatically generated by the `geine`. Make all changes to `README.yaml` and run `make readme` to rebuild this file. -->
22

3+
34
<p align="center"> <img src="https://user-images.githubusercontent.com/50652676/62451340-ba925480-b78b-11e9-99f0-13a8a9cc0afa.png" width="100" height="100"></p>
45

56
<h1 align="center">
67
Ansible Role Docker PHP
78
</h1>
89

9-
<p align="center" style="font-size: 1.2rem;">
10-
This ansible role is used to install PHP with docker on linux.
10+
<p align="center" style="font-size: 1.2rem;">
11+
This Ansible role install PHP On Ubuntu, CentOS Amazon-Linux With Docker.
1112
</p>
1213

1314
<p align="center">
@@ -18,14 +19,11 @@
1819
<a href="LICENSE.md">
1920
<img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="Licence">
2021
</a>
21-
<a href="https://ubuntu.com/">
22-
<img src="https://img.shields.io/badge/ubuntu-18.x-orange?style=flat&logo=ubuntu" alt="Distribution">
23-
</a>
2422
<a href="https://ubuntu.com/">
2523
<img src="https://img.shields.io/badge/ubuntu-20.x-orange?style=flat&logo=ubuntu" alt="Distribution">
2624
</a>
2725
<a href="https://www.centos.org/">
28-
<img src="https://img.shields.io/badge/centos-8.x-orange" alt="Distribution">
26+
<img src="https://img.shields.io/badge/CentOS-8-green?style=flat&logo=centos" alt="Distribution">
2927
</a>
3028
<a href="https://aws.amazon.com/amazon-linux-ami/">
3129
<img src="https://img.shields.io/badge/Amazon_linux-2-yellow?style=flat&logo=linux" alt="Distribution">
@@ -34,6 +32,7 @@
3432
<img src="https://github.com/clouddrove/ansible-role-docker-php/actions/workflows/lint.yml/badge.svg" alt="Actions">
3533
</a>
3634

35+
3736
</p>
3837
<p align="center">
3938

@@ -50,56 +49,76 @@
5049
</p>
5150
<hr>
5251

53-
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.
52+
53+
54+
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.
5455

5556
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.
5657

58+
59+
5760
## Prerequisites
5861

59-
This module has a few dependencies:
62+
This module has a few dependencies:
6063

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

68+
69+
70+
6571
## What Includes
6672

67-
Followiing things includes in this role:
73+
Following things includes in this role:
6874

6975
- Php-8.0
7076
- Php-fpm
7177
- Pecl
7278
- Composer
7379

80+
81+
82+
83+
84+
85+
7486
## Example Playbook
7587

7688
**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).
7789

90+
7891
```yaml
7992
- hosts: localhost
8093
remote_user: root
8194
roles:
8295
- clouddrove.ansible_role_docker_php
8396
```
8497
98+
8599
## Variables
86100
87101
```yaml
88-
php_version: 8.0.7-fpm
89-
php_user: www-data
90-
php_group: www-data
91-
php_opt_dir: "/opt/php"
92-
php_config_dir: "{{ php_opt_dir }}/config"
102+
php_version: 8.0.7-fpm
103+
php_user: www-data
104+
php_group: www-data
105+
php_opt_dir: "/opt/php"
106+
php_config_dir: "{{ php_opt_dir }}/config"
93107
```
94108
109+
95110
## Installation
96111
97112
```console
98113
$ ansible-galaxy install clouddrove.ansible_role_docker_php
99114
```
100115

101-
## Feedback
102116

117+
118+
119+
120+
121+
## Feedback
103122
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 [hello@clouddrove.com](mailto:hello@clouddrove.com).
104123

105124
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)!
@@ -112,9 +131,9 @@ At [CloudDrove][website], we offer expert guidance, implementation support and s
112131
<hr />
113132
<p align="center">We ❤️ <a href="https://github.com/clouddrove">Open Source</a> and you can check out <a href="https://github.com/clouddrove">our other modules</a> to get help with your new Cloud ideas.</p>
114133

115-
[website]: https://clouddrove.com
116-
[github]: https://github.com/clouddrove
117-
[linkedin]: https://cpco.io/linkedin
118-
[twitter]: https://twitter.com/clouddrove/
119-
[email]: https://clouddrove.com/contact-us.html
120-
[terraform_modules]: https://github.com/clouddrove?utf8=%E2%9C%93&q=terraform-&type=&language=
134+
[website]: https://clouddrove.com
135+
[github]: https://github.com/clouddrove
136+
[linkedin]: https://cpco.io/linkedin
137+
[twitter]: https://twitter.com/clouddrove/
138+
[email]: https://clouddrove.com/contact-us.html
139+
[terraform_modules]: https://github.com/clouddrove?utf8=%E2%9C%93&q=terraform-&type=&language=

README.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ what_includes:
5353

5454
# description of this project
5555
description: |-
56-
This ansible role is used to install PHP with docker on linux.
56+
This Ansible role install PHP On Ubuntu, CentOS Amazon-Linux With Docker.
5757
5858
# How to use this project
5959
usage: |-

meta/main.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ dependencies: []
33

44
galaxy_info:
55
author: Anmol Nagpal
6-
description: This ansible role installs PHP on Docker.
6+
description: This Ansible role install PHP On Ubuntu, CentOS Amazon-Linux With Docker
77
company: "CloudDrove Inc."
88
license: "license (BSD, MIT)"
99
role_name: ansible_role_docker_php
10-
namespace: clouddrove
11-
min_ansible_version: 2.4
10+
namespace: CloudDrove
11+
min_ansible_version: 2.8
12+
1213
platforms:
1314
- name: Debian
1415
versions:
@@ -38,4 +39,4 @@ galaxy_info:
3839
- ubuntu
3940
- cenos
4041
- linux
41-
- amazonlinux
42+
- amazon

0 commit comments

Comments
 (0)