ansible-role-firewall
ansible-role-firewall copied to clipboard
Update main.yml
port range support for firewalld could be done like this.
Might be helpful in #6
firewall_services:
- name: 30000-32767
protocol: tcp
range: true
name: Pull request about: Describe the proposed change
Describe the change A clear and concise description of what the pull request is.
Testing In case a feature was added, how were tests performed?
Hello @robertdebock and @flybyray . I am interested in this feature. @robertdebockt what would you expect in terms of testing in order to integrate this feature into a release. I am ready to contribute
Hi,
Please describe an example of how to use this (commented) in defaults/main.yml
.
Actually I replaced firewall usage with the role linux-system-roles.firewall
But there are quite a lot of examples: https://linux-system-roles.github.io/firewall/#port