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

Inherits:
Base show all
Includes:
FreeForm
Defined in:
lib/ansible/ruby/modules/custom/commands/script.rb,
lib/ansible/ruby/modules/generated/core/commands/script.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

#createsString?

Returns a filename, when it already exists, this step will B(not) be run.

Returns:

  • (String, nil)

    a filename, when it already exists, this step will B(not) be run.



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

attribute :creates

#free_formObject

Returns path to the local script file followed by optional arguments.

Returns:

  • (Object)

    path to the local script file followed by optional arguments.



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

attribute :free_form

#removesString?

Returns a filename, when it does not exist, this step will B(not) be run.

Returns:

  • (String, nil)

    a filename, when it does not exist, this step will B(not) be run.



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

attribute :removes