ansible/test/integration
Sam Doran 1379e77bf1 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

(cherry picked from commit ea3638b580)
2017-11-14 11:10:25 -05:00
..
group_vars Move networking provider options to subspec (#28894) 2017-09-01 11:53:51 -04:00
host_vars
roles Add a code-smell test for smart quotes and remove smart quotes from all files 2017-09-19 13:00:56 -07:00
targets Add proper check mode support to the script module (#31852) 2017-11-14 11:10:25 -05:00
vars
amazon.yml
asa.yaml
azure.yml
cleanup_azure.py
cleanup_ec2.py
cleanup_gce.py
cleanup_rax.py
cloud-config-aws.yml.template
cloud-config-azure.yml.template
cloud-config-cs.ini.template
cloudflare.yml
cloudscale.yml
cnos.yaml
connection-buildah.yaml
consul.yml
consul_inventory.yml
consul_running.py
credentials.template
dellos6.yaml
dellos9.yaml
dellos10.yaml
eos.yaml
exoscale.yml
galaxy_playbook.yml
galaxy_playbook_git.yml
galaxy_roles.yml
galaxy_rolesfile
gce.yml
gce_credentials.py
integration.cfg Fix ansible-test config management. 2017-10-04 12:53:29 -07:00
integration_config.yml
inventory Fix fact failures cause by ordering of collectors (#30777) 2017-09-28 10:56:18 -04:00
inventory.network
inventory.networking.template
inventory.remote.template
inventory.winrm.template
inventory.yaml
ios.yaml
iosxr.yaml
jenkins.yml
junos.yaml
Makefile remove unused ssh pipelining setters 2017-10-03 09:22:49 -04:00
netscaler.yaml
network-all.yaml
network-integration.cfg Increase socket connect retry timeout for integration test (#30681) (#30683) 2017-09-21 11:02:22 +01:00
nuage.yaml
nxos.yaml Fix snmp bugs on Nexus 3500 platform (#32773) (#32847) 2017-11-13 11:54:12 +00:00
ops.yaml
ovs.yaml
platform_agnostic.yaml
rackspace.yml
setup_gce.py
target-prefixes.network
vyos.yaml
windows-integration.cfg Fix ansible-test config management. 2017-10-04 12:53:29 -07:00