community.general/lib/ansible/modules
Kevin Subileau ac9d506a61 win_nssm: tests and several bug fixes (#44755)
* win_nssm: add failing tests for issue #44079

* win_nssm: use Run-Command instead of Invoke-Expression to prevent interpretation issue

Fix #44079

* win_nssm: add more failing tests

These tests highlight several issues with this module:
 * Service not started when state=started
 * Errors with app_parameters (see #25265)
 * Exception when passing several dependencies separated by comma as specified in doc

* win_nssm: fix service not started when state=started

Nssm status returns a multiline output that doesn't match any of the strict patterns in the switch statement.

* 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

* win_nssm: fix error with app_parameters parameter

Fix #25265

* win_nssm: add idempotence tests

* win_nssm: fix several idempotence issues and misbehaviors

Add missing space between arguments when app_parameters contains several keys.
Use Argv-ToString and Escape-Argument to improve arguments handling (parameters with quotes, backslashes or spaces).

* win_nssm: test parameters with spaces, quotes or backslashes

* win_nssm: restore comma as separator for service dependencies

Revert commit ddd4b4b

* win_nssm: restore support of string as dict form for app_parameters and remove support of literal YAML dict

* win_nssm: wrong variable in tests
2018-09-27 13:15:04 +10:00
..
cloud add azure_rm_cdnprofile and azure_rm_cdnprofile_facts (#45097) 2018-09-27 10:10:01 +10:00
clustering Add Check Mode to consul_kv (#28934) 2018-09-19 18:21:03 -04:00
commands Clarify the creates and removes options (#45485) 2018-09-11 15:45:19 -05:00
crypto Refactoring GET request handling. (#45051) 2018-09-04 21:28:04 +02:00
database Fix author in modules (#46068) 2018-09-24 10:14:29 -05:00
files Update synchronize.py, mention variable ansible_rsync_path needed for different local rsync binary (#41870) 2018-09-25 11:27:24 +01:00
identity Unify terms and UI between 1Password lookups and facts module (#45427) 2018-09-21 14:26:05 -04:00
inventory Fix typo in group_by module (#41627) 2018-06-18 15:33:08 +05:30
messaging [rabbitmq_binding] Fix the quoting of vhost and other names (#45109) 2018-09-25 11:04:41 +05:30
monitoring datadog_monitor: fix template vars in 'name' and 'escalation_message' (#38483) 2018-09-19 17:34:53 -04:00
net_tools Fix iterator to list conversion in ldap_entry module 2018-09-25 11:24:44 +02:00
network made sros_config docs match code for match options (#46135) 2018-09-26 19:08:26 +05:30
notification Update typetalk.py to use com domain (#46045) 2018-09-24 16:42:06 -05:00
packaging homebrew_cask: Pass install_options during uninstall (#44938) 2018-09-25 12:21:52 +01:00
remote_management Deprecate foreman and katello modules (#42043) 2018-09-19 11:41:54 -05:00
source_control Docs: Avoid use of 'default: null' (#45795) 2018-09-19 09:02:27 -05:00
storage NetApp Bulk Doc changes (#45856) 2018-09-19 20:26:28 +01:00
system Add `systemctl daemon-reexec` to `systemd` module 2018-09-24 15:51:44 -04:00
utilities async: use async_dir for the async results file directory (#45461) 2018-09-20 19:37:54 +10:00
web_infrastructure Add 'signalled' state to supervisorctl module with associated 'signal' parameter. (#32694) 2018-09-21 15:59:14 -04:00
windows win_nssm: tests and several bug fixes (#44755) 2018-09-27 13:15:04 +10:00
__init__.py