Skip to content

Instantly share code, notes, and snippets.

@pspravin
Created April 26, 2017 23:21
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/8bce58488f4e413c072eff73948fe4c1 to your computer and use it in GitHub Desktop.
Save pspravin/8bce58488f4e413c072eff73948fe4c1 to your computer and use it in GitHub Desktop.
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, "failed": true, "msg": "No package matching 'nginx' found available, installed or updated", "rc": 126, "results": ["No package matching 'nginx' found available, installed or updated"]}
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