Manage FreeBSD nginx package name

pull/14/head
Emilien Mantel 2016-03-07 12:08:34 +01:00
parent 8fc6f7117e
commit 33f34a0550
3 changed files with 11 additions and 2 deletions

View File

@ -24,9 +24,15 @@ Role Variables
### Packaging
Debian:
- `nginx_apt_package`: APT nginx package (try: apt-cache search ^nginx)
- `nginx_backports`: Install nginx from backport repository (bool)
FreeBSD:
- `nginx_pkgng_package`: PKGNG nginx package (should be "nginx" or "nginx-devel")
### Shared
- `nginx_root`: root directory where you want to have your files

View File

@ -1,7 +1,10 @@
---
# Debian
nginx_apt_package: nginx-full
nginx_backports: false
# FreeBSD
nginx_pkgng_package: nginx
#
# Nginx shared variables

View File

@ -1,9 +1,9 @@
---
- name: PKGNG | Install nginx and related tools
pkgng: name=nginx state=present
pkgng: name={{ item }} state=present
with_items:
- nginx
- "{{ nginx_pkgng_package }}"
- py27-passlib
- curl