community.general/lib/ansible/plugins/action
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
..
__init__.py Connection plugins network_cli and netconf (#32521) 2017-11-09 15:04:40 -05:00
add_host.py add_hosts.py: Fix add_host does not recognise 'host' alias (#27418) 2017-07-28 17:35:20 -04:00
aireos.py Fix unwanted deprecation message in network module args (#28984) 2017-09-12 13:00:01 +02:00
aireos_config.py Adding aireos_config module (#27408) 2017-07-29 00:36:04 +05:30
aruba.py Fix unwanted deprecation message in network module args (#28984) 2017-09-12 13:00:01 +02:00
aruba_config.py Adding aruba_config module (#27130) 2017-08-01 11:44:26 -06:00
asa.py fixes asa action plugin for connection=local (#32827) 2017-11-13 14:24:13 -05:00
asa_config.py Fixes for broken asa_config module (#27218) 2017-08-11 11:42:42 -04:00
assemble.py Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
assert.py Implements verbose always to assert action plugin module (#17654) 2016-09-20 10:52:21 -05:00
bigip.py Adding a cli transport option for the bigip_command module. (#30391) 2017-10-12 15:07:15 -07:00
ce.py Fix unwanted deprecation message in network module args (#28984) 2017-09-12 13:00:01 +02:00
ce_config.py commit plugins action ce_config module. (#21648) 2017-05-19 08:42:36 +01:00
ce_template.py Fix urlparse import for Python3 (#31240) 2017-10-09 20:18:09 -07:00
copy.py remove action plugin only fields from 'file' calls (#31047) 2017-09-29 17:13:32 -07:00
debug.py show specific undefined var errors on -v in debug (#32206) 2017-11-02 18:11:31 -04:00
dellos6.py Fix Dell OS network module timeout (#30355) 2017-09-14 15:40:50 +01:00
dellos6_config.py Ansible 2.3 feature support for dellos6. (#23084) 2017-03-30 15:26:32 +02:00
dellos9.py Fix Dell OS network module timeout (#30355) 2017-09-14 15:40:50 +01:00
dellos9_config.py Ansible 2.3 feature support for dellos9 and dellos10 (#22856) 2017-03-27 19:32:57 +01:00
dellos10.py Fix Dell OS network module timeout (#30355) 2017-09-14 15:40:50 +01:00
dellos10_config.py Ansible 2.3 feature support for dellos9 and dellos10 (#22856) 2017-03-27 19:32:57 +01:00
enos.py New enos_facts, + module_utils/enos.py. modifying copyright year in rest all (#31696) 2017-11-08 15:55:46 +00:00
eos.py fixes eos connection checks and checks configured connection (#32828) 2017-11-13 14:28:55 -05:00
eos_config.py updates eos modules to use socket (#21197) 2017-02-13 20:22:10 -05:00
fail.py Two fixes to action plugins 2015-10-22 16:07:26 -07:00
fetch.py fetch: fail if flat=yes and dest=existing-dir w/o trailing slash 2017-07-28 09:53:50 -04:00
fortios_config.py Convert the src entry to a templated entry. (#24026) 2017-08-01 11:19:08 -06:00
group_by.py add support of nested groups in group_by 2017-07-27 11:37:34 -04:00
include_vars.py BugFix code breaks, if include_vars dir is file instead of directory (#31157) 2017-10-03 00:00:51 -04:00
ios.py Connection plugins network_cli and netconf (#32521) 2017-11-09 15:04:40 -05:00
ios_config.py updates ios modules to support persistent socket (#21258) 2017-02-13 15:22:14 +00:00
iosxr.py Connection plugins network_cli and netconf (#32521) 2017-11-09 15:04:40 -05:00
iosxr_config.py fix unicode errors in iosxr 2017-07-19 14:51:35 -07:00
ironware.py Network command module for Brocade IronWare routers (#31429) 2017-10-17 13:54:32 +01:00
ironware_config.py ironware_config module (#32187) 2017-11-07 08:22:22 +00:00
junos.py Connection plugins network_cli and netconf (#32521) 2017-11-09 15:04:40 -05:00
junos_config.py Ensure proper conversion while backing up of junos config (#28958) 2017-09-04 20:12:11 +05:30
net_banner.py Add net_banner platform agnostic module (#25245) 2017-06-02 17:01:08 +02:00
net_base.py Connection plugins network_cli and netconf (#32521) 2017-11-09 15:04:40 -05:00
net_config.py code clean of old code from network modules updates (#21469) 2017-02-15 12:46:30 -05:00
net_interface.py Add net_interface declarative module (#25766) 2017-06-16 22:12:50 +05:30
net_l2_interface.py Add net_l2_interface platform agnostic module (#26410) 2017-07-05 11:15:19 +05:30
net_l3_interface.py Add net_l3_interface vendor neutral module (#26484) 2017-07-06 21:02:25 +02:00
net_linkagg.py Add missing net_linkagg action plugin (#26477) 2017-07-06 11:12:05 +02:00
net_lldp.py Add net_lldp platform agnostic module (#26738) 2017-07-13 12:02:45 +02:00
net_lldp_interface.py Split net_lldp into net_lldp (service) and net_lldp_interface (#26757) 2017-07-13 16:38:15 +02:00
net_logging.py Add net_logging platform agnostic module and junos implementation (#26316) 2017-07-03 15:31:59 +05:30
net_ping.py Net Ping: Add new action plugin for *_ping network modules (#28558) 2017-08-29 13:28:58 -04:00
net_static_route.py Add new net_static_route platform agnostic module (#25455) 2017-06-26 11:23:33 +02:00
net_system.py Platform agnostic net_system module (#24953) 2017-06-02 14:06:38 +02:00
net_user.py New module: platform agnostic way to manage local users on network devices (network/net_user.) (#25259) 2017-06-06 20:05:08 +05:30
net_vlan.py Add net_vlan platform agnostic module (#25252) 2017-06-06 11:45:02 +02:00
net_vrf.py Platform agnostic module for VRFs (#25383) 2017-06-09 13:33:11 +02:00
netconf_config.py netconf_config: support new src attribute (new Action Plugin) (#24337) 2017-05-11 18:43:44 +05:30
normal.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
nxos.py Connection plugins network_cli and netconf (#32521) 2017-11-09 15:04:40 -05:00
nxos_config.py nxos integration fix part 1 (#27069) 2017-07-19 14:00:05 -04:00
ops_config.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
package.py namespace facts 2017-11-09 09:48:14 -05:00
patch.py Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
pause.py Fix #31694: running with closed stdin on python 3 (#31695) 2017-11-08 11:59:42 +01:00
raw.py Ensure exit_json returns failed = False 2017-05-30 14:56:31 -07:00
script.py Add proper check mode support to the script module (#31852) 2017-11-13 15:33:44 -08:00
service.py namespace facts 2017-11-09 09:48:14 -05:00
set_fact.py fix precedence issue with facts and vars (#32302) 2017-11-01 11:42:17 -04:00
set_stats.py Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
sros.py update sros local action plugin to support network_cli (#32830) 2017-11-12 19:57:04 -05:00
sros_config.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
synchronize.py namespace facts 2017-11-09 09:48:14 -05:00
telnet.py Add alias to command option in telnet (#30825) 2017-09-28 18:07:37 +05:30
template.py Optimize template (#28044) 2017-08-11 17:50:49 -07:00
unarchive.py Support tilde (~) paths for unarchive creates tests 2017-07-19 11:13:17 -04:00
vyos.py Connection plugins network_cli and netconf (#32521) 2017-11-09 15:04:40 -05:00
vyos_config.py Vyos config fixes (#21862) 2017-02-25 21:14:40 -05:00
wait_for_connection.py Bugfix to check-mode and async support, and features (#28448) 2017-08-29 14:44:50 -07:00
win_copy.py Update win_copy for #32677 (#32682) 2017-11-10 06:34:29 +10:00
win_reboot.py win_reboot: Use more conforming parameter names (#26466) 2017-08-29 19:08:12 -07:00
win_template.py Windows: Use the correct newline sequence for the platform (#21846) 2017-03-23 19:47:10 -07:00