radware / radware.radware_modules / 0.6.12 / module / alteon_config_content_rule create and manage content base rules for virtual service in Radware Alteon | "added in version" 2.9 of radware.radware_modules" Authors: Leon Meguira (@leonmeguira), Nati Fridman (@natifridman) stableinterface | supported by certifiedradware.radware_modules.alteon_config_content_rule (0.6.12) — module
Install with ansible-galaxy collection install radware.radware_modules:==0.6.12
collections: - name: radware.radware_modules version: 0.6.12
create and manage content base rules for virtual service.
- name: alteon configuration command radware.radware_modules.alteon_config_content_rule: provider: server: 192.168.1.1 user: admin password: admin validate_certs: no https_port: 443 ssh_port: 22 timeout: 5 state: present parameters: virtual_server_id: srvr1 virtual_service_index: 1 content_rule_index: 10 rule_name: myrule content_class: test1 action: group group_id: group1 state: enabled
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 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(no), SSL certificates will not be validated. - This should only set to C(no) used on personally controlled sites using self-signed certificates. required: true type: bool parameters: description: - Parameters for configuring content base rules for virtual service. suboptions: action: choices: - group - appredir - discard default: group description: - set action type for this rule. required: false bot_manager_policy: default: null description: - set bot manager policy for this rule.. - This field is available from alteon versions 33.0.7.0 and 33.5.3.0. required: false type: str bot_manager_processing: choices: - inherit - specific - disabled default: inherit description: - set bot manager processing for this rule. - This field is available from alteon versions 33.0.7.0 and 33.5.3.0. required: false content_class: default: null description: - the content class for the rule. required: false type: str content_rule_index: default: null description: - content rule index. required: true type: int group_id: default: null description: - set real server group number for this rule. - set this parameter when when the specified action option is group. required: false type: str redirection_url: default: null description: - set application redirection for this rule. - set this parameter when when the specified action option is appredir (redirect). required: false type: str rule_name: default: null description: - the content rule name. required: false type: str secure_path_policy: default: null description: - set secure path policy for this rule.. - This field is available from alteon version 33.5.3.0. required: false type: str secure_web_application_processing: choices: - inherit - disabled default: inherit description: - set secured web application processing for this rule. - This field is available from alteon version 33.5.3.0. required: false sideband_policy: default: null description: - set sideband policy for this rule. - This field is available from alteon version 33.5.3.0. required: false type: str sideband_processing: choices: - inherit - specific - disabled default: inherit description: - set sideband processing for this rule. - This field is available from alteon version 33.5.3.0. required: false state: choices: - enabled - disabled default: disabled description: - Enable or disable Content Based Services Rule. required: false virtual_server_id: default: null description: - virtual server id. required: true type: str virtual_service_index: default: null description: - virtual service index. required: true type: int 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: dictionary status: description: Message detailing run result returned: success sample: object deployed successfully type: str