You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test
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
7 years ago
..
cache Update ansible-test sanity command. (#31958) 7 years ago
compile Docs how to test (2nd) (#24094) 8 years ago
integration Add proper check mode support to the script module (#31852) 7 years ago
legacy remove unused ssh pipelining setters 7 years ago
results Collect data from integration test runs. (#28650) 7 years ago
runner Update ansible-test sanity command. (#31958) 7 years ago
sanity Remove uses of assert in production code (#32079) 7 years ago
units nxos_bgp_neighbor_af feature idea disable-peer-as-check (#32665) 7 years ago
utils Provide details via DCI Env (#32770) 7 years ago