clean up foobazdmx role
make git repo url and version to check out a variable instead of a hard-coded value the role, and update host_vars to match.
This commit is contained in:
		
					parent
					
						
							
								2d5f116ff3
							
						
					
				
			
			
				commit
				
					
						e37d84c60d
					
				
			
		
					 4 changed files with 14 additions and 3 deletions
				
			
		
							
								
								
									
										1
									
								
								playbooks/roles/foobazdmx/defaults/main.yaml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								playbooks/roles/foobazdmx/defaults/main.yaml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | |||
| foobazdmx_version: main | ||||
|  | @ -2,6 +2,14 @@ | |||
| argument_specs: | ||||
|   main: | ||||
|     options: | ||||
|       foobazdmx_version: | ||||
|         description: git branch, tag, or commit to check out from the foobazdmx repo | ||||
|         type: str | ||||
|         default: main | ||||
|       foobazdmx_repo_url: | ||||
|         description: git repo to pull foobazdmx from | ||||
|         type: str | ||||
|         required: true | ||||
|       foobazdmx__art_net_host: | ||||
|         description: IP oder hostname of the Art-Net server | ||||
|         type: str | ||||
|  |  | |||
|  | @ -24,9 +24,9 @@ | |||
|     - name: Clone foobazdmx repository | ||||
|       become: true | ||||
|       ansible.builtin.git: | ||||
|         repo: https://ccchh-ansible:glpat-istRKj5ivdBs_u9Tsdbp@gitlab.hamburg.ccc.de/ccchh/foobazdmx.git | ||||
|         repo: "{{ foobazdmx_repo_url }}" | ||||
|         dest: /opt/foobazdmx | ||||
|         version: main | ||||
|         version: "{{ foobazdmx_version }}" | ||||
|     - name: Install python dependencies | ||||
|       become: true | ||||
|       become_user: foobazdmx | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue