win_nssm: fix incorrect separator in doc for service dependencies

The dependencies parameter works with space as separator, but not with comma as shown in the documentation

(cherry picked from commit ddd4b4bea6)
pull/46479/merge
Kévin Subileau 6 years ago committed by Toshio Kuratomi
parent 6ea0fccfe2
commit df1aaab3df

@ -58,7 +58,7 @@ options:
- Use either this or C(app_parameters), not both.
dependencies:
description:
- Service dependencies that has to be started to trigger startup, separated by comma.
- Service dependencies that has to be started to trigger startup, separated by space.
user:
description:
- User to be used for service startup.
@ -140,7 +140,7 @@ EXAMPLES = r'''
- win_nssm:
name: foo
application: C:\windows\foo.exe
dependencies: 'adf,tcpip'
dependencies: 'adf tcpip'
# Install and start the foo service with dedicated user
- win_nssm:

@ -61,7 +61,7 @@
name: '{{ test_service_name }}'
application: C:\Windows\System32\cmd.exe
start_mode: manual
dependencies: 'tcpip,dnscache'
dependencies: 'tcpip dnscache'
user: '{{ test_win_nssm_username }}'
password: '{{ test_win_nssm_password }}'
stdout_file: '{{ test_win_nssm_path }}\log.txt'

Loading…
Cancel
Save