version: '3'
services:
ansible:
build: .
entrypoint: ansible-playbook --ask-vault-pass /etc/ansible/playbook.yml
command: ''
stdin_open: yes
tty: yes
volumes:
- .:/etc/ansible
- ~/.ssh:/home/ansible/.ssh:ro