| 
					
				 | 
			
			
				@@ -47,25 +47,25 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   template: src=munin/nginx_vhost.j2 dest=/etc/nginx/sites-available/munin owner=root group=root mode=0644 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   notify: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     - Reload nginx for munin 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  when: with_munin and with_nginx 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  when: with_munin and with_nginx is defined and with_nginx 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 - name: Install nginx virtual host for munin (sites-enabled) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   file: src=/etc/nginx/sites-available/munin path=/etc/nginx/sites-enabled/munin state=link 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   notify: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     - Reload nginx for munin 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  when: with_munin and with_nginx 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  when: with_munin and with_nginx is defined and with_nginx 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 - name: Install apache2 virtual host for munin (sites-available) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   template: src=munin/apache2_vhost.j2 dest=/etc/apache2/sites-available/munin owner=root group=root mode=0644 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   notify: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     - Reload apache2 for munin 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  when: with_munin and with_apache2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  when: with_munin and with_apache2 is defined and with_apache2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 - name: Install apache2 virtual host for munin (sites-enabled) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   file: src=/etc/apache2/sites-available/munin path=/etc/apache2/sites-enabled/munin state=link 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   notify: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     - Reload apache2 for munin 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  when: with_munin and with_apache2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  when: with_munin and with_apache2 is defined and with_apache2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 - name: Ensure munin-node is running 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   service: name=munin-node state=started 
			 |