mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add reference documentation for peer_run
This commit is contained in:
parent
459035812e
commit
ac4510fb42
1 changed files with 21 additions and 0 deletions
|
@ -471,6 +471,27 @@ This will allow all minions to execute all commands:
|
|||
This is not recommended, since it would allow anyone who gets root on any
|
||||
single minion to instantly have root on all of the minions!
|
||||
|
||||
.. conf_master:: peer_run
|
||||
|
||||
``peer_run``
|
||||
------------
|
||||
|
||||
Default: ``{}``
|
||||
|
||||
The peer_run option is used to open up runners on the master to access from the
|
||||
minions. The peer_run configuration matches the format of the peer
|
||||
configuration.
|
||||
|
||||
The following example would allow foo.example.com to execute the manage.up
|
||||
runner:
|
||||
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
peer_run:
|
||||
foo.example.com:
|
||||
- manage.up
|
||||
|
||||
Node Groups
|
||||
-----------
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue