Reload apache after deploying its configuration
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
							parent
							
								
									408c857f81
								
							
						
					
					
						commit
						82818b732f
					
				|  | @ -0,0 +1,5 @@ | |||
| --- | ||||
| - name: Reload apache | ||||
|   systemd: | ||||
|     name: apache2 | ||||
|     state: reloaded | ||||
|  | @ -82,6 +82,7 @@ | |||
|     - rewrite | ||||
|     - socache_shmcb | ||||
|     - userdir | ||||
|   notify: Reload apache | ||||
| 
 | ||||
| - name: Copy apache configuration | ||||
|   template: | ||||
|  | @ -96,6 +97,7 @@ | |||
|     - "sites-available/000-perso-vhosts.conf" | ||||
|     - "sites-available/001-perso.conf" | ||||
|     - "suexec/www-data" | ||||
|   notify: Reload apache | ||||
| 
 | ||||
| - name: Enable apache sites | ||||
|   file: | ||||
|  | @ -108,3 +110,4 @@ | |||
|   loop: | ||||
|     - "000-perso-vhosts.conf" | ||||
|     - "001-perso.conf" | ||||
|   notify: Reload apache | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue