community.general/lib/ansible/plugins
Sam Doran ea3638b580 Add proper check mode support to the script module (#31852)
* Do not run script in check mode

Fixes #30676

* Reformat script integration test

* Add integration tests for check mode of script module

* Fix name on test

* Cleanup temp file

* win_script integration test syntaxt changes

* Add check mode tests for win_script

* Use proper variable in test

* Fail if source file does not exist

* Verify script is accessible and don't copy in check mode

Use shlex to properly split shell arguments, though a path with spaces in it still needs to be quoted in the playbook.
Add note to docs describing such.
Improve error message if file is not found indicating there may be a space in the path.

* Properly encode path now that path is split using shlex

* Allow for spaces in both path and script name

* Add unicode character test to Linux script tests

* Add Linux test for space in path to script
2017-11-13 15:33:44 -08:00
..
action Add proper check mode support to the script module (#31852) 2017-11-13 15:33:44 -08:00
cache Fix flush_cache on redis cache 2017-10-03 12:54:26 -04:00
callback syslog_json: fix typos in documentation 2017-11-13 17:11:15 -05:00
cliconf New enos_facts, + module_utils/enos.py. modifying copyright year in rest all (#31696) 2017-11-08 15:55:46 +00:00
connection fixes asa action plugin for connection=local (#32827) 2017-11-13 14:24:13 -05:00
filter Combine lists of dicts (#32686) 2017-11-09 10:02:38 -05:00
inventory Enable autoloading of inventory plugins (#32709) 2017-11-09 19:38:34 -05:00
lookup fixed issues with lookup url docs 2017-11-13 13:43:19 -05:00
netconf Add support for netconf network discovery (#25435) 2017-06-28 11:07:38 +05:30
shell minor become/runas cleanup (#32564) 2017-11-06 11:24:04 -08:00
strategy fixes to events/callbacks (#32633) 2017-11-09 17:12:37 -05:00
terminal fixes asa action plugin for connection=local (#32827) 2017-11-13 14:24:13 -05:00
test better backwards compat handling of status 2017-07-05 21:44:00 -04:00
vars avoid chroot paths (#32778) 2017-11-10 13:26:49 -05:00
__init__.py allow config for callbaks and some fixes 2017-09-11 14:00:01 -07:00
loader.py Enable autoloading of inventory plugins (#32709) 2017-11-09 19:38:34 -05:00