Manage FreeBSD nginx package name
							parent
							
								
									8fc6f7117e
								
							
						
					
					
						commit
						33f34a0550
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,10 @@
 | 
			
		|||
---
 | 
			
		||||
 | 
			
		||||
# Debian
 | 
			
		||||
nginx_apt_package: nginx-full
 | 
			
		||||
nginx_backports: false
 | 
			
		||||
# FreeBSD
 | 
			
		||||
nginx_pkgng_package: nginx
 | 
			
		||||
 | 
			
		||||
#
 | 
			
		||||
# Nginx shared variables
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue