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)
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. - Use either this or C(app_parameters), not both.
dependencies: dependencies:
description: 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: user:
description: description:
- User to be used for service startup. - User to be used for service startup.
@ -140,7 +140,7 @@ EXAMPLES = r'''
- win_nssm: - win_nssm:
name: foo name: foo
application: C:\windows\foo.exe application: C:\windows\foo.exe
dependencies: 'adf,tcpip' dependencies: 'adf tcpip'
# Install and start the foo service with dedicated user # Install and start the foo service with dedicated user
- win_nssm: - win_nssm:

View file

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