Manage FreeBSD nginx package name
parent
8fc6f7117e
commit
33f34a0550
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue