Skip to content

Instantly share code, notes, and snippets.

@pspravin
Created May 2, 2017 22:26
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/73f6d3f4f4ba65674c86b517f95eb838 to your computer and use it in GitHub Desktop.
Save pspravin/73f6d3f4f4ba65674c86b517f95eb838 to your computer and use it in GitHub Desktop.
[opc@vm04 ansible]$ ansible-playbook webserver.yml
PLAY [webserver] ***************************************************************
TASK [setup] *******************************************************************
ok: [129.146.32.41]
ok: [129.146.20.198]
TASK [install epel] ************************************************************
ok: [129.146.32.41]
ok: [129.146.20.198]
TASK [install web components] **************************************************
ok: [129.146.32.41] => (item=[u'httpd', u'mod_wsgi', u'python-pip', u'python-virtualenv'])
ok: [129.146.20.198] => (item=[u'httpd', u'mod_wsgi', u'python-pip', u'python-virtualenv'])
TASK [ensure apache started] ***************************************************
ok: [129.146.20.198]
ok: [129.146.32.41]
TASK [ensure mod_wsgi enabled] *************************************************
fatal: [129.146.20.198]: FAILED! => {"changed": false, "failed": true, "msg": "None not found. Perhaps this system does not use None to manage apache"}
fatal: [129.146.32.41]: FAILED! => {"changed": false, "failed": true, "msg": "None not found. Perhaps this system does not use None to manage apache"}
to retry, use: --limit @/home/opc/ansible/webserver.retry
PLAY RECAP *********************************************************************
129.146.20.198 : ok=4 changed=0 unreachable=0 failed=1
129.146.32.41 : ok=4 changed=0 unreachable=0 failed=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment