mirror of
				https://github.com/geerlingguy/ansible-role-docker.git
				synced 2025-11-01 01:19:32 +01:00 
			
		
		
		
	Adds option to configure docker-compose URL
Necessary for installing from a local mirror or in an offline environmment.
This commit is contained in:
		
							parent
							
								
									5eec6ef54e
								
							
						
					
					
						commit
						a977b06b7b
					
				@ -12,6 +12,7 @@ docker_restart_handler_state: restarted
 | 
			
		||||
# Docker Compose options.
 | 
			
		||||
docker_install_compose: true
 | 
			
		||||
docker_compose_version: "1.26.0"
 | 
			
		||||
docker_compose_url: https://github.com/docker/compose/releases/download/{{ docker_compose_version }}/docker-compose-Linux-x86_64
 | 
			
		||||
docker_compose_path: /usr/local/bin/docker-compose
 | 
			
		||||
 | 
			
		||||
# Used only for Debian/Ubuntu. Switch 'stable' to 'nightly' if needed.
 | 
			
		||||
 | 
			
		||||
@ -15,6 +15,6 @@
 | 
			
		||||
 | 
			
		||||
- name: Install Docker Compose (if configured).
 | 
			
		||||
  get_url:
 | 
			
		||||
    url: https://github.com/docker/compose/releases/download/{{ docker_compose_version }}/docker-compose-Linux-x86_64
 | 
			
		||||
    url: "{{ docker_compose_url }}"
 | 
			
		||||
    dest: "{{ docker_compose_path }}"
 | 
			
		||||
    mode: 0755
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user