/nginx-ansible

Ansible to install nginx and configure vhosts

Primary LanguageJinja

Nginx Ansible

This is a playbook for deploying nginx and configure vhosts

Requirements

this playbook works base on ssh protocol so enabled ssh communication is required

so if the ssh is set on different port, and you don't have any firewall installed on your servers, and you wish the play book to configure it for you, please install the firewall yourself and add your ssh port to the firewall

How To Use

first, fill-in required information in inventory.ini and group_vars/main.yaml then run ansible-playbook command:

ansible-playbook -i inventory.ini playbook.yaml