Class: Ansible::Ruby::Modules::Include_tasks

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/utilities/logic/include_tasks.rb

Overview

Includes a file with a list of tasks to be executed in the current playbook.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#applyHash?

Returns Accepts a hash of task keywords (e.g. C(tags), C(become)) that will be applied to the tasks within the include.

Returns:

  • (Hash, nil)

    Accepts a hash of task keywords (e.g. C(tags), C(become)) that will be applied to the tasks within the include.



16
# File 'lib/ansible/ruby/modules/generated/utilities/logic/include_tasks.rb', line 16

attribute :apply

#fileString?

Returns The name of the imported file is specified directly without any other option.,Unlike M(import_tasks), most keywords, including loops and conditionals, apply to this statement.

Returns:

  • (String, nil)

    The name of the imported file is specified directly without any other option.,Unlike M(import_tasks), most keywords, including loops and conditionals, apply to this statement.



12
# File 'lib/ansible/ruby/modules/generated/utilities/logic/include_tasks.rb', line 12

attribute :file

#free_formObject?

Returns Supplying a file name via free-form C(- include_tasks: file.yml) of a file to be included is the equivalentrnof specifying an argument of I(file).rn.

Returns:

  • (Object, nil)

    Supplying a file name via free-form C(- include_tasks: file.yml) of a file to be included is the equivalentrnof specifying an argument of I(file).rn



20
# File 'lib/ansible/ruby/modules/generated/utilities/logic/include_tasks.rb', line 20

attribute :free_form, original_name: 'free-form'