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,4 +1,3 @@ | ||||
| --- | ||||
| galaxy_info: | ||||
|   author: "Kevin Veen-Birkenbach" | ||||
|   description: | | ||||
| @@ -11,20 +10,17 @@ galaxy_info: | ||||
|     https://www.veen.world | ||||
|   min_ansible_version: "2.9" | ||||
|   platforms: | ||||
|     - name: Archlinux | ||||
|       versions: | ||||
|         - rolling | ||||
|   - name: Archlinux | ||||
|     versions: | ||||
|     - rolling | ||||
|   galaxy_tags: | ||||
|     - nginx | ||||
|     - https | ||||
|     - file | ||||
|     - static-files | ||||
|     - ssl | ||||
|     - letsencrypt | ||||
|     - automation | ||||
|   - nginx | ||||
|   - https | ||||
|   - file | ||||
|   - static-files | ||||
|   - ssl | ||||
|   - letsencrypt | ||||
|   - automation | ||||
|   repository: "https://github.com/kevinveenbirkenbach/infinito-nexus" | ||||
|   issue_tracker_url: "https://github.com/kevinveenbirkenbach/infinito-nexus/issues" | ||||
|   documentation: "https://docs.infinito.nexus" | ||||
| dependencies: | ||||
|   - srv-web-7-6-https | ||||
|   - dev-git | ||||
|   | ||||
| @@ -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