Class: Ansible::Ruby::Modules::Apache2_module

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/web_infrastructure/apache2_module.rb

Overview

Enables or disables a specified module of the Apache2 webserver.

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

#forceSymbol?

Returns Force disabling of default modules and override Debian warnings.

Returns:

  • (Symbol, nil)

    Force disabling of default modules and override Debian warnings.



20
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/apache2_module.rb', line 20

attribute :force

#identifierString?

Returns Identifier of the module as listed by C(apache2ctl -M). This is optional and usually determined automatically by the common convention of appending C(_module) to I(name) as well as custom exception for popular modules.

Returns:

  • (String, nil)

    Identifier of the module as listed by C(apache2ctl -M). This is optional and usually determined automatically by the common convention of appending C(_module) to I(name) as well as custom exception for popular modules.



16
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/apache2_module.rb', line 16

attribute :identifier

#ignore_configcheckSymbol?

Returns Ignore configuration checks about inconsistent module configuration. Especially for mpm_* modules.

Returns:

  • (Symbol, nil)

    Ignore configuration checks about inconsistent module configuration. Especially for mpm_* modules.



28
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/apache2_module.rb', line 28

attribute :ignore_configcheck

#nameString

Returns Name of the module to enable/disable as given to C(a2enmod/a2dismod).

Returns:

  • (String)

    Name of the module to enable/disable as given to C(a2enmod/a2dismod).



12
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/apache2_module.rb', line 12

attribute :name

#state:present, ...

Returns Desired state of the module.

Returns:

  • (:present, :absent, nil)

    Desired state of the module.



24
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/apache2_module.rb', line 24

attribute :state