mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	Refactored server roles for better readability
This commit is contained in:
		| @@ -3,7 +3,7 @@ | ||||
|     include_role: | ||||
|       name: '{{ item }}' | ||||
|     loop: | ||||
|     - srv-core | ||||
|     - sys-svc-webserver | ||||
|  | ||||
|   - name: Include task to remove deprecated nginx configs | ||||
|     include_tasks: remove_deprecated_nginx_configs.yml | ||||
|   | ||||
| @@ -15,6 +15,6 @@ | ||||
|  | ||||
| - name: Remove exact nginx config for {{ domain }} | ||||
|   ansible.builtin.file: | ||||
|     path: "{{ NGINX.DIRECTORIES.HTTP.SERVERS }}{{ domain }}.conf" | ||||
|     path: "{{ [ NGINX.DIRECTORIES.HTTP.SERVERS, domain ~ '.conf'] | path_join }}" | ||||
|     state: absent | ||||
|   notify: restart openresty | ||||
		Reference in New Issue
	
	Block a user