-
-
Save leafmulch/4749d81d742f3583b434 to your computer and use it in GitHub Desktop.
ansible playbook issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK: [docker | Add Docker repository and update apt cache] ******************* | |
changed: [10.100.199.201] | |
TASK: [docker | Docker is present] ******************************************** | |
changed: [10.100.199.201] | |
TASK: [docker | Python-pip is present] **************************************** | |
changed: [10.100.199.201] | |
TASK: [docker | Docker-py is present] ***************************************** | |
changed: [10.100.199.201] | |
TASK: [swarm | Directories are present] *************************************** | |
skipping: [10.100.199.201] => (item=/data/scripts) | |
TASK: [swarm | Scripts are present] ******************************************* | |
skipping: [10.100.199.201] => (item={'dest': '/data/scripts/swarm_get_ip.sh', 'src': 'swarm_get_ip.sh'}) | |
TASK: [swarm | Obsolete Docker init.d service is removed] ********************* | |
changed: [10.100.199.201] | |
TASK: [swarm | Configuration is present] ************************************** | |
changed: [10.100.199.201] | |
TASK: [swarm | Service is restarted] ****************************************** | |
changed: [10.100.199.201] | |
TASK: [swarm | Swarm node is running] ***************************************** | |
failed: [10.100.199.201] => {"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 | |
10.100.199.200 : ok=19 changed=10 unreachable=0 failed=0 | |
10.100.199.201 : ok=10 changed=7 unreachable=0 failed=1 | |
10.100.199.202 : ok=1 changed=0 unreachable=0 failed=0 | |
10.100.199.203 : 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