mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 23:31:25 -07:00
parent
c87f70429b
commit
697980d7cc
2 changed files with 19 additions and 1 deletions
|
@ -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
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue