Class: Ansible::Ruby::Modules::Set_stats

Inherits:
Base show all
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

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

#aggregateBoolean?

Returns boolean that indicates if the provided value is aggregated to the existing stat C(yes) or will replace it C(no).

Returns:

  • (Boolean, nil)

    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

#dataHash

Returns A dictionary of which each key represents a stat (or variable) you want to keep track of.

Returns:

  • (Hash)

    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_hostBoolean?

Returns boolean that indicates if the stats is per host or for all hosts in the run.

Returns:

  • (Boolean, nil)

    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