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 = '''
|
EXAMPLES = '''
|
||||||
# Restart a service
|
# Restart a service
|
||||||
win_service:
|
win_service:
|
||||||
name: ncover
|
name: spooler
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
# Set service startup mode to auto and ensure it is started
|
# Set service startup mode to auto and ensure it is started
|
||||||
win_service:
|
win_service:
|
||||||
name: ncover
|
name: spooler
|
||||||
start_mode: auto
|
start_mode: auto
|
||||||
state: started
|
state: started
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue