Class: Ansible::Ruby::Modules::Include_tasks
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Include_tasks
- 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
-
#apply ⇒ Hash?
Accepts a hash of task keywords (e.g. C(tags), C(become)) that will be applied to the tasks within the include.
-
#file ⇒ String?
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.
-
#free_form ⇒ Object?
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.
Methods inherited from Base
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
#apply ⇒ Hash?
Returns 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 |
#file ⇒ String?
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.
12 |
# File 'lib/ansible/ruby/modules/generated/utilities/logic/include_tasks.rb', line 12 attribute :file |
#free_form ⇒ Object?
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.
20 |
# File 'lib/ansible/ruby/modules/generated/utilities/logic/include_tasks.rb', line 20 attribute :free_form, original_name: 'free-form' |