Skip to content

Instantly share code, notes, and snippets.

@pspravin
Created April 26, 2017 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pspravin/70f93fceba926d930ebe9a27cf5a6feb to your computer and use it in GitHub Desktop.
Save pspravin/70f93fceba926d930ebe9a27cf5a6feb to your computer and use it in GitHub Desktop.
Unable to install loadbalancer via playbook
[opc@vm04 ansible]$ ansible-playbook loadbalancer.yml
PLAY [loadbalancer] ************************************************************
TASK [setup] *******************************************************************
ok: [129.146.34.164]
TASK [install nginx] ***********************************************************
fatal: [129.146.34.164]: FAILED! => {"changed": false, "cmd": "apt-get update", "failed": true, "msg": "[Errno 2] No such file or directory", "rc": 2}
to retry, use: --limit @/home/opc/ansible/loadbalancer.retry
PLAY RECAP *********************************************************************
129.146.34.164 : ok=1 changed=0 unreachable=0 failed=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment