mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 02:10:05 +00:00 
			
		
		
		
	Refactored server roles for better readability
This commit is contained in:
		
							
								
								
									
										8
									
								
								roles/sys-svc-webserver/tasks/02_cleanup.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								roles/sys-svc-webserver/tasks/02_cleanup.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| - name: Cleanup all NGINX cache directories | ||||
|   become: true | ||||
|   ansible.builtin.file: | ||||
|     path: "{{ item.value }}" | ||||
|     state: absent | ||||
|   loop: "{{ NGINX.DIRECTORIES.CACHE | dict2items }}" | ||||
|   loop_control: | ||||
|     label: "{{ item.key }}" | ||||
		Reference in New Issue
	
	Block a user