Class: Ansible::Ruby::Modules::Raw

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

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, #to_h, validates

Constructor Details

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

Instance Method Details

#executableString?

Returns change the shell used to execute the command. Should be an absolute path to the executable.,when using privilege escalation (C(become)), a default shell will be assigned if one is not provided as privilege escalation requires a shell.

Returns:

  • (String, nil)

    change the shell used to execute the command. Should be an absolute path to the executable.,when using privilege escalation (C(become)), a default shell will be assigned if one is not provided as privilege escalation requires a shell.



14
# File 'lib/ansible/ruby/modules/generated/core/commands/raw.rb', line 14

attribute :executable

#free_formObject

Returns the raw module takes a free form command to run.

Returns:

  • (Object)

    the raw module takes a free form command to run



10
# File 'lib/ansible/ruby/modules/generated/core/commands/raw.rb', line 10

attribute :free_form