mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-31 02:41:36 +01:00 
			
		
		
		
	Update to 2022-11-16 14:00
This commit is contained in:
		
							
								
								
									
										13
									
								
								roles/nomad/templates/docker_auth.json.j2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								roles/nomad/templates/docker_auth.json.j2
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| { | ||||
|   "auths": { | ||||
| {% for auth in nomad_conf.client.task_drivers.docker.auths %} | ||||
| {% if auth.registry is defined and auth.login is defined and auth.password is defined %} | ||||
|     "{{ auth.registry }}": { | ||||
|       "auth": "{{ (auth.login ~ ':' ~ auth.password) | b64encode }}" | ||||
|     }{% if not loop.last %},{% endif %} | ||||
|  | ||||
| {% endif %} | ||||
| {% endfor %} | ||||
|  | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Berteaud
					Daniel Berteaud