Skip to content

Latest commit

 

History

History
40 lines (20 loc) · 698 Bytes

README.md

File metadata and controls

40 lines (20 loc) · 698 Bytes

nginx-php-fpm installation on CentOS 6/7 or Ubuntu 16.04LTS

You need minimum 1GB RAM for succesfully run playbook.

Software version.

Ansible 2.0.0.2

Centos 6/7

Ubuntu 16.04 LTS

php 7.0/7.1/7.2/7.3

nginx 1.10

mysql Ver 14.14 Distrib 5.7.25

run command:

yum install git ansible mc python2-PyMySQL -y

or

apt update && apt install git ansible mc -y mkdir /etc/ansible/roles

for Debian like distros

git clone https://github.com/Nurlan199206/ansible-lemp-16-04

and

ansible-playbook --connection=local -s /etc/ansible/roles/ansible-lemp-16-04/nginx.yml

for successfully run playbook, dont forget add in /etc/ansible/ansible.cfg after [defaults]

invalid_task_attribute_failed=False