项目作者: pkorobeinikov

项目描述 :
Nginx installation.
高级语言:
项目地址: git://github.com/pkorobeinikov/ansible-role-nginx.git
创建时间: 2016-05-13T18:53:26Z
项目社区:https://github.com/pkorobeinikov/ansible-role-nginx

开源协议:

下载


Build Status

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

  1. - hosts: servers
  2. roles:
  3. - role: pkorobeinikov.nginx
  4. nginx_package_version: 1.9.15-1~trusty
  5. nginx_conf_templates:
  6. - { src: nginx/nginx.conf.j2, dest: /etc/nginx/nginx.conf }
  7. - { src: nginx/conf.d/app.conf.j2, dest: /etc/nginx/conf.d/app.conf }

License

BSD, MIT