Skip to content

Instantly share code, notes, and snippets.

@shurane
Last active August 29, 2015 14:02
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 shurane/4825b3cf53b2241f54d8 to your computer and use it in GitHub Desktop.
Save shurane/4825b3cf53b2241f54d8 to your computer and use it in GitHub Desktop.
stderr: /bin/ls: cannot access >/tmp/ls_output: No such file or directory
---
- hosts: logstash
sudo: True
user: root
tasks:
- name: update logstash.conf
command: /bin/true
notify: do nothing
handlers:
- name: do nothing
command: /bin/ls >/tmp/ls_output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment