Change examples syntax on shell module
This commit is contained in:
parent
60a92eadd7
commit
079bf05ec3
1 changed files with 6 additions and 4 deletions
|
@ -83,7 +83,9 @@ EXAMPLES = '''
|
||||||
- shell: somescript.sh >> somelog.txt
|
- shell: somescript.sh >> somelog.txt
|
||||||
|
|
||||||
# Change the working directory to somedir/ before executing the command.
|
# Change the working directory to somedir/ before executing the command.
|
||||||
- shell: somescript.sh >> somelog.txt chdir=somedir/
|
- shell: somescript.sh >> somelog.txt
|
||||||
|
args:
|
||||||
|
chdir: somedir/
|
||||||
|
|
||||||
# You can also use the 'args' form to provide the options. This command
|
# You can also use the 'args' form to provide the options. This command
|
||||||
# will change the working directory to somedir/ and will only run when
|
# will change the working directory to somedir/ and will only run when
|
||||||
|
|
Loading…
Reference in a new issue