Skip to content

Instantly share code, notes, and snippets.

@mherkender
Created July 1, 2012 03:03
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 mherkender/3026632 to your computer and use it in GitHub Desktop.
Save mherkender/3026632 to your computer and use it in GitHub Desktop.
Better ansible output
max@darmani% ansible-playbook -k -i ansible.hosts nabooru.ansible.yml
SSH password:
setup phase
[192.168.1.133] done
install nginx
[192.168.1.133] apt pkg=nginx state=installed
configure nginx
[192.168.1.133] template src=/var/tmp/ansible.WFoHkW/source dest=/etc/nginx/nginx.conf
ensure nginx is running
[192.168.1.133] service name=nginx state=running
<192.168.1.133> Starting nginx: [emerg]: getpwnam("nginx") failed in /etc/nginx/nginx.conf:1
<192.168.1.133> configuration file /etc/nginx/nginx.conf test failed
TASK FAILED
restart nginx
[192.168.1.133] service name=nginx state=restarted
<192.168.1.133> Starting nginx: [emerg]: getpwnam("nginx") failed in /etc/nginx/nginx.conf:1
<192.168.1.133> configuration file /etc/nginx/nginx.conf test failed
TASK FAILED
summary:
[192.168.1.133] ok=3 changed=2 unreachable=2 failed=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment