Class: Ansible::Ruby::Modules::Setup
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Setup
- Defined in:
- lib/ansible/ruby/modules/generated/system/setup.rb
Overview
This module is automatically called by playbooks to gather useful variables about remote hosts that can be used in playbooks. It can also be executed directly by C(/usr/bin/ansible) to check what variables are available to a host. Ansible provides many I(facts) about the system, automatically. This module is also supported for Windows targets.
Instance Method Summary collapse
-
#fact_path ⇒ String?
Path used for local ansible facts (C(*.fact)) - files in this dir will be run (if executable) and their results be added to C(ansible_local) facts if a file is not executable it is read.
-
#filter ⇒ String?
If supplied, only return facts that match this shell-style (fnmatch) wildcard.
-
#gather_subset ⇒ String?
If supplied, restrict the additional facts collected to the given subset.
-
#gather_timeout ⇒ Integer?
Set the default timeout in seconds for individual fact gathering.
Methods inherited from Base
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
#fact_path ⇒ String?
25 |
# File 'lib/ansible/ruby/modules/generated/system/setup.rb', line 25 attribute :fact_path |
#filter ⇒ String?
21 |
# File 'lib/ansible/ruby/modules/generated/system/setup.rb', line 21 attribute :filter |
#gather_subset ⇒ String?
13 |
# File 'lib/ansible/ruby/modules/generated/system/setup.rb', line 13 attribute :gather_subset |
#gather_timeout ⇒ Integer?
17 |
# File 'lib/ansible/ruby/modules/generated/system/setup.rb', line 17 attribute :gather_timeout |