Skip to content

Instantly share code, notes, and snippets.

@tgerla
Created February 23, 2015 19:31
Show Gist options
  • Save tgerla/71c87444d50585501228 to your computer and use it in GitHub Desktop.
Save tgerla/71c87444d50585501228 to your computer and use it in GitHub Desktop.
- name: run the command
command: mycommand
register: myCommandResults
- name: fail if we didn't get what we expect
assert:
that: '"my output" in myCommandResults'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment