Open danieloh30 opened 7 years ago
This looks like an issue communicating with docker on the host.
Perhaps a permissions error.
I faced the same issue and it ended up being a permissions issue with the docker communication using "/var/run/docker.sock"
I used a dedicated user account for ansible that has sudo access but it does not belong to the owner of /var/run/docker.sock so I fixed it by running:
sudo setfacl -m user:{username}:rw /var/run/docker.sock
failed: [localhost] (item={u'tag': u'summit', u'img': u'docker.io/ansibleplaybookbundle/ansible-service-broker-apb'}) => {"failed": true, "item": {"img": "docker.io/ansibleplaybookbundle/ansible-service-broker-apb", "tag": "summit"}, "msg": "Error connecting: Error while fetching server API version: ('Connection aborted.', error(13, 'Permission denied'))"} failed: [localhost] (item={u'tag': u'summit', u'img': u'docker.io/ansibleplaybookbundle/ansible-service-broker-asb'}) => {"failed": true, "item": {"img": "docker.io/ansibleplaybookbundle/ansible-service-broker-asb", "tag": "summit"}, "msg": "Error connecting: Error while fetching server API version: ('Connection aborted.', error(13, 'Permission denied'))"}