Class: Ansible::Ruby::Modules::Win_iis_webapppool

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/windows/win_iis_webapppool.rb

Overview

Creates, removes and configures an IIS Web Application Pool.

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

#attributesHash?

Returns This field is a free form dictionary value for the application pool attributes.,These attributes are based on the naming standard at U(www.iis.net/configreference/system.applicationhost/applicationpools/add#005), see the examples section for more details on how to set this.,You can also set the attributes of child elements like cpu and processModel, see the examples to see how it is done.,While you can use the numeric values for enums it is recommended to use the enum name itself, e.g. use SpecificUser instead of 3 for processModel.identityType.,managedPipelineMode may be either “Integrated” or “Classic”.,startMode may be either “OnDemand” or “AlwaysRunning”.,Use C(state) module parameter to modify the state of the app pool.,When trying to set ‘processModel.password’ and you receive a ‘Value does fall within the expected range’ error, you have a corrupted keystore. Please follow U(structuredsight.com/2014/10/26/im-out-of-range-youre-out-of-range/) to help fix your host.

Returns:

  • (Hash, nil)

    This field is a free form dictionary value for the application pool attributes.,These attributes are based on the naming standard at U(www.iis.net/configreference/system.applicationhost/applicationpools/add#005), see the examples section for more details on how to set this.,You can also set the attributes of child elements like cpu and processModel, see the examples to see how it is done.,While you can use the numeric values for enums it is recommended to use the enum name itself, e.g. use SpecificUser instead of 3 for processModel.identityType.,managedPipelineMode may be either “Integrated” or “Classic”.,startMode may be either “OnDemand” or “AlwaysRunning”.,Use C(state) module parameter to modify the state of the app pool.,When trying to set ‘processModel.password’ and you receive a ‘Value does fall within the expected range’ error, you have a corrupted keystore. Please follow U(structuredsight.com/2014/10/26/im-out-of-range-youre-out-of-range/) to help fix your host.



12
# File 'lib/ansible/ruby/modules/generated/windows/win_iis_webapppool.rb', line 12

attribute :attributes

#nameString

Returns Name of the application pool.

Returns:

  • (String)

    Name of the application pool.



16
# File 'lib/ansible/ruby/modules/generated/windows/win_iis_webapppool.rb', line 16

attribute :name

#state:absent, ...

Returns The state of the application pool.,If C(absent) will ensure the app pool is removed.,If C(present) will ensure the app pool is configured and exists.,If C(restarted) will ensure the app pool exists and will restart, this is never idempotent.,If C(started) will ensure the app pool exists and is started.,If C(stopped) will ensure the app pool exists and is stopped.

Returns:

  • (:absent, :present, :restarted, :started, :stopped, nil)

    The state of the application pool.,If C(absent) will ensure the app pool is removed.,If C(present) will ensure the app pool is configured and exists.,If C(restarted) will ensure the app pool exists and will restart, this is never idempotent.,If C(started) will ensure the app pool exists and is started.,If C(stopped) will ensure the app pool exists and is stopped.



20
# File 'lib/ansible/ruby/modules/generated/windows/win_iis_webapppool.rb', line 20

attribute :state