15 lines
		
	
	
		
			322 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			322 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| services:
 | |
|   ansible:
 | |
|     build:
 | |
|       context: .
 | |
|       ssh:
 | |
|         - default
 | |
|     container_name: ansible
 | |
|     volumes:
 | |
|       - .:/ansible
 | |
|       - /var/run/docker.sock:/var/run/docker.sock
 | |
|     environment:
 | |
|       - ANSIBLE_VAULT_PASSWORD_FILE=./vault-password.txt
 | |
|     tty: true
 | |
|     privileged: true
 | |
|     working_dir: /ansible |