ansible-role-firewall icon indicating copy to clipboard operation
ansible-role-firewall copied to clipboard

Update main.yml

Open flybyray opened this issue 3 years ago • 3 comments

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?

flybyray avatar Jan 16 '22 00:01 flybyray

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

Pandemonium1986 avatar Feb 16 '24 07:02 Pandemonium1986

Hi,

Please describe an example of how to use this (commented) in defaults/main.yml.

robertdebock avatar Feb 16 '24 07:02 robertdebock

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

flybyray avatar Mar 01 '24 22:03 flybyray