mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add ssh_pre_flight_args to the docs
This commit is contained in:
parent
5c958f6893
commit
8239097291
1 changed files with 12 additions and 0 deletions
|
@ -66,6 +66,9 @@ The information which can be stored in a roster ``target`` is the following:
|
|||
# does not exist, unless --pre-flight is passed to salt-ssh
|
||||
# command or ssh_run_pre_flight is set to true in the config
|
||||
# Added in 3001 Release.
|
||||
ssh_pre_flight_args: # The list of arguments to pass to the script
|
||||
# running on the minion with ssh_pre_flight.
|
||||
# Can be specified as single string.
|
||||
set_path: # Set the path environment variable, to ensure the expected python
|
||||
# binary is in the salt-ssh path, when running the command.
|
||||
# Example: '$PATH:/usr/local/bin/'. Added in 3001 Release.
|
||||
|
@ -88,6 +91,15 @@ you want to intentionally run the script again you have a couple of options:
|
|||
* Set ssh_run_pre_flight to True in the config
|
||||
* Run salt-ssh with the --pre-flight arg.
|
||||
|
||||
.. _ssh_pre_flight_args:
|
||||
|
||||
ssh_pre_flight_args
|
||||
-------------------
|
||||
|
||||
Additional arguments to the script running on the minion with `ssh_pre_flight` can be passed
|
||||
with specifying a list of arguments or a single string. In case of using single string
|
||||
distinct arguments will be passed to the script by splitting this string with the spaces.
|
||||
|
||||
.. _roster_defaults:
|
||||
|
||||
Target Defaults
|
||||
|
|
Loading…
Add table
Reference in a new issue