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 ### Packaging
Debian:
- `nginx_apt_package`: APT nginx package (try: apt-cache search ^nginx) - `nginx_apt_package`: APT nginx package (try: apt-cache search ^nginx)
- `nginx_backports`: Install nginx from backport repository (bool) - `nginx_backports`: Install nginx from backport repository (bool)
FreeBSD:
- `nginx_pkgng_package`: PKGNG nginx package (should be "nginx" or "nginx-devel")
### Shared ### Shared
- `nginx_root`: root directory where you want to have your files - `nginx_root`: root directory where you want to have your files

View File

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

View File

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