sap.sap_operations.firewall role – Configure firewall for SAP instances
Note
This role is part of the sap.sap_operations collection.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it use: ansible-galaxy collection install sap.sap_operations
.
To use it in a playbook, specify: sap.sap_operations.firewall
.
Entry point __dependencies__
– Dependencies
Synopsis
Role has no dependencies to other roles.
Entry point __examples__
– Example Playbooks
Synopsis
name: Configure firewall for SAP instances
ansible.builtin.include_role:
name: sap.sap_operations.firewall
Entry point __license__
– License
Synopsis
GPL-3.0-only
Entry point __limitations__
– Limitations
Synopsis
Only takes into account SAP instances, not databases
Entry point main
– Configure firewall for SAP instances
Synopsis
Role will fail if no firewalld service exist and running
Role requires root access
Role will list all SAP instances on the host and enable/disable firewalld configuration for ports exposed in AccessPointList for the instance
Only SAP instances are taken into account, not installed databases
Role is idempotent
Parameters
Parameter |
Comments |
---|---|
If set to true firewall configuration will be immediate Choices:
|
|
If set to true firewall configuration will be permanent Choices:
|
|
Firewall protocol to configure Choices:
|
|
Enable or disable specified firewalld configuration Choices:
|
|
Firewall zone to configure Choices:
|