Skip to content

Instantly share code, notes, and snippets.

@pspravin
Created April 27, 2017 23:09
Show Gist options
  • Save pspravin/7359c51cc120aae13a99af67db8dd4cb to your computer and use it in GitHub Desktop.
Save pspravin/7359c51cc120aae13a99af67db8dd4cb to your computer and use it in GitHub Desktop.
output
[opc@vm04 ansible]$ ansible-playbook webserver.yml
PLAY [webserver] ***************************************************************
TASK [setup] *******************************************************************
ok: [129.146.32.41]
ok: [129.146.20.198]
TASK [install web components] **************************************************
failed: [129.146.20.198] (item=[u'httpd', u'libhttpd-mod-wsgi']) => {"changed": false, "failed": true, "item": ["httpd", "libhttpd-mod-wsgi"], "msg": "No package matching 'libhttpd-mod-wsgi' found available, installed or updated", "rc": 126, "results": ["httpd-2.4.6-45.0.1.el7_3.4.x86_64 providing httpd is already installed", "No package matching 'libhttpd-mod-wsgi' found available, installed or updated"]}
failed: [129.146.32.41] (item=[u'httpd', u'libhttpd-mod-wsgi']) => {"changed": false, "failed": true, "item": ["httpd", "libhttpd-mod-wsgi"], "msg": "No package matching 'libhttpd-mod-wsgi' found available, installed or updated", "rc": 126, "results": ["httpd-2.4.6-45.0.1.el7_3.4.x86_64 providing httpd is already installed", "No package matching 'libhttpd-mod-wsgi' found available, installed or updated"]}
to retry, use: --limit @/home/opc/ansible/webserver.retry
PLAY RECAP *********************************************************************
129.146.20.198 : ok=1 changed=0 unreachable=0 failed=1
129.146.32.41 : 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