labpositiva.nginx
Ansible Role: Nginx
Installs and configures nginx on a host.
Requirements
- Linux
- none
- OSX
- Homebrew must be installed.
Role Variables
The default role variables in defaults/main.yml are:
---
# defaults file for nginx
nginx_keepalive_timeout: "65"
nginx_keepalive_requests: "1000"
nginx_client_max_body_size: "64m"
nginx_client_body_timeout: "3m"
nginx_client_header_timeout: "3m"
nginx_server_names_hash_bucket_size: "64"
Dependencies
none
Example Playbook
See the examples directory.
To run this playbook with default settings, create a basic playbook like this:
- hosts: servers
roles:
- nginx
To install a specific version:
- hosts: servers
roles:
- { role: labpositiva.nginx }
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
Made with :heart: ️:coffee:️ and :pizza: by labpositiva.
Install
ansible-galaxy install labpositiva.nginxLicense
mit
Downloads
1.8k
Owner
