Installation
Prerequisites
The following must be installed prior to installing the module:
Python 3.11+
Ansible 2.16+
sophosfirewall-python 0.1.56+
With Python installed on the system, Ansible and the sophosfirewall-python module can be installed with pip
:
$ pip install ansible
$ pip install sophosfirewall-python
Install
The Sophos Firewall Ansible Collection can be installed using the ansible-galaxy
utility which is included with Ansible:
$ ansible-galaxy collection install sophos.sophos_firewall
Warning
If the firewall is a member of a group in Central, the changes made by Ansible will override the settings of the group. The actual configuration on the firewall may then differ from what is displayed for the same setting in the Central group.