mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Using generic windows service for example
This commit is contained in:
parent
122fff970f
commit
31f5069212
1 changed files with 2 additions and 2 deletions
|
@ -61,12 +61,12 @@ author: Chris Hoffman
|
|||
EXAMPLES = '''
|
||||
# Restart a service
|
||||
win_service:
|
||||
name: ncover
|
||||
name: spooler
|
||||
state: restarted
|
||||
|
||||
# Set service startup mode to auto and ensure it is started
|
||||
win_service:
|
||||
name: ncover
|
||||
name: spooler
|
||||
start_mode: auto
|
||||
state: started
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue