Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ansible playbook issue
TASK: [docker | Add Docker repository and update apt cache] *******************
changed: []
TASK: [docker | Docker is present] ********************************************
changed: []
TASK: [docker | Python-pip is present] ****************************************
changed: []
TASK: [docker | Docker-py is present] *****************************************
changed: []
TASK: [swarm | Directories are present] ***************************************
skipping: [] => (item=/data/scripts)
TASK: [swarm | Scripts are present] *******************************************
skipping: [] => (item={'dest': '/data/scripts/', 'src': ''})
TASK: [swarm | Obsolete Docker init.d service is removed] *********************
changed: []
TASK: [swarm | Configuration is present] **************************************
changed: []
TASK: [swarm | Service is restarted] ******************************************
changed: []
TASK: [swarm | Swarm node is running] *****************************************
failed: [] => {"changed": false, "failed": true}
msg: ConnectionError(MaxRetryError("UnixHTTPConnectionPool(host='localhost', port=None): Max retries exceeded with url: /run/docker.sock/v1.12/images/swarm/json (Caused by <class 'socket.error'>: [Err
no 2] No such file or directory)",),)
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/vagrant/infra.retry : ok=19 changed=10 unreachable=0 failed=0 : ok=10 changed=7 unreachable=0 failed=1 : ok=1 changed=0 unreachable=0 failed=0 : ok=1 changed=0 unreachable=0 failed=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.