mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 02:10:05 +00:00 
			
		
		
		
	Optimized tests für run once
This commit is contained in:
		| @@ -1,19 +1,28 @@ | ||||
| --- | ||||
| - name: Load former meta dependencies once | ||||
|   block: | ||||
|   - name: Include moved dependencies | ||||
|     include_role: | ||||
|       name: '{{ item }}' | ||||
|     loop: | ||||
|     - srv-web-7-6-https | ||||
|     - dev-git | ||||
|   - set_fact: | ||||
|       run_once_web_svc_cdn: true | ||||
|   when: run_once_web_svc_cdn is not defined | ||||
| - block: | ||||
|    | ||||
|   - name: "include role for {{application_id}} to receive certs & do modification routines" | ||||
|     include_role: | ||||
|       name: srv-web-7-6-composer | ||||
|     vars: | ||||
|       domain:     "{{ domains | get_domain(application_id) }}" | ||||
|       http_port:  "{{ ports.localhost.http[application_id] }}" | ||||
|       domain: "{{ domains | get_domain(application_id) }}" | ||||
|       http_port: "{{ ports.localhost.http[application_id] }}" | ||||
|  | ||||
|   - name: "generate {{domains | get_domain(application_id)}}.conf" | ||||
|     template:  | ||||
|       src:  "nginx.conf.j2"  | ||||
|     template: | ||||
|       src: "nginx.conf.j2" | ||||
|       dest: "{{ nginx.directories.http.servers }}{{ domains | get_domain(application_id) }}.conf" | ||||
|     notify: restart openresty | ||||
|    | ||||
|  | ||||
|   - include_tasks: utils/run_once.yml | ||||
|   when: run_once_web_svc_cdn is not defined | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user