Add example of using non-posix shellisms to raw and shell

Fixes #14262
This commit is contained in:
Toshio Kuratomi 2016-02-03 13:07:30 -08:00 committed by Matt Clay
parent c87f70429b
commit 697980d7cc
2 changed files with 19 additions and 1 deletions

View file

@ -92,4 +92,10 @@ EXAMPLES = '''
args:
chdir: somedir/
creates: somelog.txt
# Run a command that uses non-posix shell-isms (in this example /bin/sh
# doesn't handle redirection and wildcards together but bash does)
- shell: cat < /tmp/*txt
args:
executable: /bin/bash
'''