Class: Ansible::Ruby::Modules::Apache2_mod_proxy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Apache2_mod_proxy
- 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
-
#balancer_url_suffix ⇒ String?
Suffix of the balancer pool url required to access the balancer pool status page (e.g. balancer_vhost/balancer_url_suffix).
-
#balancer_vhost ⇒ String
(ipv4|ipv6|fqdn):port of the Apache httpd 2.4 mod_proxy balancer pool.
-
#member_host ⇒ String?
(ipv4|ipv6|fqdn) of the balancer member to get or to set attributes to.
-
#state ⇒ :present, ...
Desired state of the member host.
-
#tls ⇒ :yes, ...
Use https to access balancer management page.
-
#validate_certs ⇒ :yes, ...
Validate ssl/tls certificates.
Methods inherited from Base
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_suffix ⇒ String?
Returns 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_vhost ⇒ String
Returns (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_host ⇒ String?
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.
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).
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.
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.
32 |
# File 'lib/ansible/ruby/modules/generated/web_infrastructure/apache2_mod_proxy.rb', line 32 attribute :validate_certs |