Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/petr-korobeinikov/ansible-role-nginx
Nginx installation.
https://github.com/petr-korobeinikov/ansible-role-nginx
ansible ansible-role infrastructure-as-code infrastructure-management nginx
Last synced: about 1 month ago
JSON representation
Nginx installation.
- Host: GitHub
- URL: https://github.com/petr-korobeinikov/ansible-role-nginx
- Owner: petr-korobeinikov
- Created: 2016-05-13T18:53:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-05-31T20:42:15.000Z (over 8 years ago)
- Last Synced: 2024-11-06T12:53:55.506Z (3 months ago)
- Topics: ansible, ansible-role, infrastructure-as-code, infrastructure-management, nginx
- Homepage: https://galaxy.ansible.com/pkorobeinikov/nginx/
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/pkorobeinikov/ansible-role-nginx.svg?branch=master)](https://travis-ci.org/pkorobeinikov/ansible-role-nginx)
pkorobeinikov.nginx
===================Nginx installation.
Requirements
------------You must provide your own configuration templates.
Role Variables
--------------* `nginx_package_version` is an exact package version, e.g. `1.9.15-1~trusty`.
* `nginx_conf_templates` is an array of config templates (see Example Playbook).Dependencies
------------None.
Example Playbook
----------------- hosts: servers
roles:
- role: pkorobeinikov.nginx
nginx_package_version: 1.9.15-1~trusty
nginx_conf_templates:
- { src: nginx/nginx.conf.j2, dest: /etc/nginx/nginx.conf }
- { src: nginx/conf.d/app.conf.j2, dest: /etc/nginx/conf.d/app.conf }License
-------BSD, MIT