| 
														
															@@ -20,7 +20,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     owner: root 
														 | 
														
														 | 
														
															     owner: root 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     group: root 
														 | 
														
														 | 
														
															     group: root 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     mode: 0644 
														 | 
														
														 | 
														
															     mode: 0644 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  when: "{{ item.state|default('present') != 'absent' }}" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  when: item.state|default('present') != 'absent' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   with_items: "{{ nginx_vhosts }}" 
														 | 
														
														 | 
														
															   with_items: "{{ nginx_vhosts }}" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   notify: reload nginx 
														 | 
														
														 | 
														
															   notify: reload nginx 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -28,6 +28,6 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   file: 
														 | 
														
														 | 
														
															   file: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     path: "{{ nginx_vhost_path }}/{{ item.server_name.split(' ')[0] }}.conf" 
														 | 
														
														 | 
														
															     path: "{{ nginx_vhost_path }}/{{ item.server_name.split(' ')[0] }}.conf" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     state: absent 
														 | 
														
														 | 
														
															     state: absent 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  when: "{{ item.state|default('present') == 'absent' }}" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  when: item.state|default('present') == 'absent' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   with_items: "{{ nginx_vhosts }}" 
														 | 
														
														 | 
														
															   with_items: "{{ nginx_vhosts }}" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   notify: reload nginx 
														 | 
														
														 | 
														
															   notify: reload nginx 
														 |