Class: Ansible::Ruby::Modules::Script

Inherits:
Base show all
Includes:
FreeForm
Defined in:
lib/ansible/ruby/modules/generated/commands/script.rb,
lib/ansible/ruby/modules/custom/commands/script.rb

Overview

The C(script) module takes the script name followed by a list of space-delimited arguments. The local script at path will be transferred to the remote node and then executed. The given script will be processed through the shell environment on the remote node. This module does not require python on the remote system, much like the M(raw) module. This module is also supported for Windows targets.

Instance Method Summary collapse

Methods included from FreeForm

included, #to_h

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#chdirObject?



28
# File 'lib/ansible/ruby/modules/generated/commands/script.rb', line 28

attribute :chdir

#createsString?



20
# File 'lib/ansible/ruby/modules/generated/commands/script.rb', line 20

attribute :creates

#executableString?



31
# File 'lib/ansible/ruby/modules/generated/commands/script.rb', line 31

attribute :executable

#free_formObject



16
# File 'lib/ansible/ruby/modules/generated/commands/script.rb', line 16

attribute :free_form

#removesString?



24
# File 'lib/ansible/ruby/modules/generated/commands/script.rb', line 24

attribute :removes