mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
script: Add support for chdir argument
This commit is contained in:
committed by
Toshio Kuratomi
parent
3c4db1e8dd
commit
804f40f7a5
@@ -50,6 +50,12 @@ options:
|
||||
required: no
|
||||
default: null
|
||||
version_added: "1.5"
|
||||
chdir:
|
||||
description:
|
||||
- cd into this directory on the remote node before running the script
|
||||
version_added: "2.4"
|
||||
required: false
|
||||
default: null
|
||||
notes:
|
||||
- It is usually preferable to write Ansible modules than pushing scripts. Convert your script to an Ansible module for bonus points!
|
||||
- The ssh connection plugin will force pseudo-tty allocation via -tt when scripts are executed. pseudo-ttys do not have a stderr channel and all
|
||||
|
||||
Reference in New Issue
Block a user