radware / radware.radware_alteon / 1.1.2 / module / alteon_config_gslb_rule Manage GSLB rule in Radware Alteon | "added in version" 1.0.0 of radware.radware_alteon" Authors: Leon Meguira (@leonmeguira), Nati Fridman (@natifridman) stableinterface | supported by certifiedradware.radware_alteon.alteon_config_gslb_rule (1.1.2) — module
Install with ansible-galaxy collection install radware.radware_alteon:==1.1.2
collections: - name: radware.radware_alteon version: 1.1.2
Manage GSLB rule in Radware Alteon
- name: alteon configuration command radware.radware_alteon.alteon_config_gslb_rule: provider: server: 192.168.1.1 user: admin password: admin validate_certs: false https_port: 443 ssh_port: 22 timeout: 5 state: present parameters: index: 55 state: enabled dns_ttl: 180 description: test_rule edns_persist_mode: enabled domain_name: www.test.com max_dns_resource_records: 3 rule_metrics: - metric: network network_ids: - 55 - 56 priority: 1 - metric: response network_ids: - 57 - 58 priority: 8
state: choices: - present - absent - read - overwrite - append default: null description: - When C(present), guarantees that the object exists with the provided attributes. - When C(absent), when applicable removes the object. - When C(read), when exists read object from configuration to parameter format. - When C(overwrite), removes the object if exists then recreate it - When C(append), append object configuration with the provided parameters required: true type: str provider: description: - Radware Alteon connection details. required: true suboptions: https_port: default: null description: - Radware Alteon https port. required: true password: default: null description: - Radware Alteon password. required: true server: default: null description: - Radware Alteon IP address. required: true ssh_port: default: null description: - Radware Alteon ssh port. required: true timeout: default: null description: - Timeout for connection. required: true user: default: null description: - Radware Alteon username. required: true validate_certs: default: null description: - If C(false), SSL certificates will not be validated. - This should only set to C(false) used on personally controlled sites using self-signed certificates. required: true type: bool type: dict parameters: description: - Parameters for GSLB rule configuration. suboptions: description: default: null description: - Descriptive rule name. required: false type: str dns_persist_timeout: default: null description: - Timeout in minutes for DNS persistence cache. required: false type: int dns_ttl: default: null description: - Time To Live in seconds of DNS resource records. required: false type: int domain_name: default: null description: - Network preference domain name for rule. required: false type: str edns_persist_mode: choices: - enabled - disabled default: null description: - Enable/disable use of EDNS value for DNS persistency. required: false index: default: null description: - Rule ID. required: true max_dns_resource_records: default: null description: - DNS resource records in DNS response. required: false type: int rule_metrics: default: null description: - Rule metrics. required: false suboptions: metric: choices: - leastconns - roundrobin - response - geographical - network - random - availability - qos - minmisses - hash - local - always - remote - none - persistence - phash - proximity - bandwidth - absleastconn description: - GSLB rule metric. required: true type: str network_ids: default: null description: - network to metric=network. elements: int required: false type: list priority: description: - Rule metric priority. required: true type: int type: dict rule_network_fallback: choices: - enabled - disabled default: null description: - Enable/disable network metric fallback. required: false rule_type: choices: - gslb - inboundllb default: null description: - DNS redirection rule type. required: false src6_dns_persist_prefix: default: null description: - Source IPv6 prefix for DNS persistence cache. required: false type: int src_dns_persist_mask: default: null description: - Source IP subnet mask for DNS persistence cache. required: false type: str state: choices: - enabled - disabled default: null description: - Rule state. required: false type: dict revert_on_error: default: false description: - If an error occurs, perform revert on alteon. required: false type: bool write_on_change: default: false description: - Executes Alteon write calls only when an actual change has been evaluated. required: false type: bool
obj: description: parameters object type returned: changed, read type: dict status: description: Message detailing run result returned: success sample: object deployed successfully type: str