mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix module.run docs
This commit is contained in:
parent
541e59fa75
commit
230e899192
1 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@ for this the :mod:`module.wait <salt.states.module.wait>` state can be used:
|
|||
|
||||
fetch_out_of_band:
|
||||
module.run:
|
||||
git.fetch:
|
||||
- git.fetch:
|
||||
- cwd: /path/to/my/repo
|
||||
- user: myuser
|
||||
- opts: '--all'
|
||||
|
@ -35,7 +35,7 @@ Another example:
|
|||
|
||||
mine.send:
|
||||
module.run:
|
||||
network.ip_addrs:
|
||||
- network.ip_addrs:
|
||||
- interface: eth0
|
||||
|
||||
And more complex example:
|
||||
|
@ -44,7 +44,7 @@ And more complex example:
|
|||
|
||||
eventsviewer:
|
||||
module.run:
|
||||
task.create_task:
|
||||
- task.create_task:
|
||||
- name: events-viewer
|
||||
- user_name: System
|
||||
- action_type: Execute
|
||||
|
@ -158,7 +158,7 @@ functions at once the following way:
|
|||
|
||||
call_something:
|
||||
module.run:
|
||||
git.fetch:
|
||||
- git.fetch:
|
||||
- cwd: /path/to/my/repo
|
||||
- user: myuser
|
||||
- opts: '--all'
|
||||
|
|
Loading…
Add table
Reference in a new issue