title | description |
---|---|
Role for nginx |
Ansible Role for maintain NginX webserver. |
Ansible Role: Nginx
Status
Description
Nginx is an Ansible Role used to setup and maintain production grade NginX webserver.
Roadmap
References
Requirements
Production
- Ansible
Variables
- defaults/main.yml contains all of the required variables.
For Local Testing
- Vagrant - (Tested using version 2.1.1)
- Vagrant plugins:
- vagrant-disksize (0.1.2)
- vagrant-libvirt
- vai (0.9.3) - For testing with multiple vms vagrant-plugin-vai
- vagrant-vbguest (0.15.2) - Recommended vagrant-vbguest
- Virtual Box
- Tested using Version 5.2.14 r123301 (Qt5.6.1)
Testing
Testing with Molecule
molecule test
Testing with Vagrant
To test with all VM's defined in Vagrantfile run the following:
cd roles/nginx
vagrant up
To run on a specific VM's
vagrant up xenial
Authors
- This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.
- Role upgraded in 2019 by László Hegedűs, founder of Cherubits LLC
License
NOTE: Role generated using ansible-role-skeleton