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 ddd4b4bea69a39e8e2aadac9d23c1f64bd1355f5)
This commit is contained in:
Kévin Subileau 2018-08-27 10:58:15 +02:00 committed by Toshio Kuratomi
parent 6ea0fccfe2
commit df1aaab3df
2 changed files with 3 additions and 3 deletions

View file

@ -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:

View file

@ -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'