Class: Ansible::Ruby::Modules::Set_stats
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Set_stats
- Defined in:
- lib/ansible/ruby/modules/generated/utilities/logic/set_stats.rb
Overview
This module allows setting/accumulating stats on the current ansible run, either per host or for all hosts in the run. This module is also supported for Windows targets.
Instance Method Summary collapse
-
#aggregate ⇒ Boolean?
Boolean that indicates if the provided value is aggregated to the existing stat C(yes) or will replace it C(no).
-
#data ⇒ Hash
A dictionary of which each key represents a stat (or variable) you want to keep track of.
-
#per_host ⇒ Boolean?
Boolean that indicates if the stats is per host or for all hosts in the run.
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
#aggregate ⇒ Boolean?
Returns boolean that indicates if the provided value is aggregated to the existing stat C(yes) or will replace it C(no).
21 |
# File 'lib/ansible/ruby/modules/generated/utilities/logic/set_stats.rb', line 21 attribute :aggregate |
#data ⇒ Hash
Returns A dictionary of which each key represents a stat (or variable) you want to keep track of.
13 |
# File 'lib/ansible/ruby/modules/generated/utilities/logic/set_stats.rb', line 13 attribute :data |
#per_host ⇒ Boolean?
Returns boolean that indicates if the stats is per host or for all hosts in the run.
17 |
# File 'lib/ansible/ruby/modules/generated/utilities/logic/set_stats.rb', line 17 attribute :per_host |