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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/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, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#forceBoolean?

Returns force disabling of default modules and override Debian warnings.

Returns:

  • (Boolean, nil)

    force disabling of default modules and override Debian warnings



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

attribute :force

#nameString

Returns name of the module to enable/disable.

Returns:

  • (String)

    name of the module to enable/disable



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

attribute :name

#state:present, ...

Returns indicate the desired state of the resource.

Returns:

  • (:present, :absent, nil)

    indicate the desired state of the resource



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

attribute :state