Closed cordoval closed 8 years ago
Do you have the SSH key volume mounted (see readme)?
yes:
target:
image: philm/ansible_target:latest
container_name: ansible_target
expose:
- "22"
volumes:
- ~/.ssh/id_rsa.pub:/home/ubuntu/.ssh/authorized_keys
privileged: true
player:
build: ./player
container_name: ansible_player
links:
- target
volumes:
- ~/.ssh/id_rsa:/root/.ssh/id_rsa
- ~/.ssh/id_rsa.pub:/root/.ssh/id_rsa.pub
volumes_from:
- playbooks
playbooks:
build: playbooks/
update unless you mean i have to add a container with the keys themselves from my machine ... hmm
nvm i sorted it out, i plugged new keys and rebuild repos and it works like a charm.
I sorted out most problems now but this is blocking:
Update: trying this https://github.com/ansible/ansible/issues/13401