mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	Optimized tests für run once
This commit is contained in:
		| @@ -1,4 +1,3 @@ | ||||
| --- | ||||
| galaxy_info: | ||||
|   author: "Kevin Veen-Birkenbach" | ||||
|   description: "Configures the host as a backup provider to facilitate secure backup operations." | ||||
| @@ -10,18 +9,15 @@ galaxy_info: | ||||
|     https://www.veen.world | ||||
|   min_ansible_version: "2.9" | ||||
|   platforms: | ||||
|     - name: Linux | ||||
|       versions: | ||||
|         - all | ||||
|   - name: Linux | ||||
|     versions: | ||||
|     - all | ||||
|   galaxy_tags: | ||||
|     - backups | ||||
|     - provider | ||||
|     - backup | ||||
|     - automation | ||||
|     - security | ||||
|   - backups | ||||
|   - provider | ||||
|   - backup | ||||
|   - automation | ||||
|   - security | ||||
|   repository: "https://github.com/kevinveenbirkenbach/infinito-nexus" | ||||
|   issue_tracker_url: "https://github.com/kevinveenbirkenbach/infinito-nexus/issues" | ||||
|   documentation: "https://docs.infinito.nexus" | ||||
| dependencies: | ||||
|   - sys-bkp-provider-user | ||||
|   - sys-cln-bkps-timer | ||||
|   | ||||
							
								
								
									
										11
									
								
								roles/sys-bkp-provider/tasks/main.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								roles/sys-bkp-provider/tasks/main.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| - name: Load former meta dependencies once | ||||
|   block: | ||||
|   - name: Include moved dependencies | ||||
|     include_role: | ||||
|       name: '{{ item }}' | ||||
|     loop: | ||||
|     - sys-bkp-provider-user | ||||
|     - sys-cln-bkps-timer | ||||
|   - set_fact: | ||||
|       run_once_sys_bkp_provider: true | ||||
|   when: run_once_sys_bkp_provider is not defined | ||||
		Reference in New Issue
	
	Block a user