Class: Ansible::Ruby::Modules::Apache2_mod_proxy

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

Overview

Set and/or get members’ attributes of an Apache httpd 2.4 mod_proxy balancer pool, using HTTP POST and GET requests. The httpd mod_proxy balancer-member status page has to be enabled and accessible, as this module relies on parsing this page. This module supports ansible check_mode, and requires BeautifulSoup python module.

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

#balancer_url_suffixString?

Returns Suffix of the balancer pool url required to access the balancer pool status page (e.g. balancer_vhost/balancer_url_suffix).

Returns:

  • (String, nil)

    Suffix of the balancer pool url required to access the balancer pool status page (e.g. balancer_vhost/balancer_url_suffix).



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

attribute :balancer_url_suffix

#balancer_vhostString

Returns (ipv4|ipv6|fqdn):port of the Apache httpd 2.4 mod_proxy balancer pool.

Returns:

  • (String)

    (ipv4|ipv6|fqdn):port of the Apache httpd 2.4 mod_proxy balancer pool.



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

attribute :balancer_vhost

#member_hostString?

Returns (ipv4|ipv6|fqdn) of the balancer member to get or to set attributes to. Port number is autodetected and should not be specified here. If undefined, apache2_mod_proxy module will return a members list of dictionaries of all the current balancer pool members’ attributes.

Returns:

  • (String, nil)

    (ipv4|ipv6|fqdn) of the balancer member to get or to set attributes to. Port number is autodetected and should not be specified here. If undefined, apache2_mod_proxy module will return a members list of dictionaries of all the current balancer pool members’ attributes.



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

attribute :member_host

#state:present, ...

Returns Desired state of the member host. (absent|disabled),drained,hot_standby,ignore_errors can be simultaneously invoked by separating them with a comma (e.g. state=drained,ignore_errors).

Returns:

  • (:present, :absent, :enabled, :disabled, :drained, :hot_standby, :ignore_errors, nil)

    Desired state of the member host. (absent|disabled),drained,hot_standby,ignore_errors can be simultaneously invoked by separating them with a comma (e.g. state=drained,ignore_errors).



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

attribute :state

#tls:yes, ...

Returns Use https to access balancer management page.

Returns:

  • (:yes, :no, nil)

    Use https to access balancer management page.



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

attribute :tls

#validate_certs:yes, ...

Returns Validate ssl/tls certificates.

Returns:

  • (:yes, :no, nil)

    Validate ssl/tls certificates.



32
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/apache2_mod_proxy.rb', line 32

attribute :validate_certs