Commit Graph

29 Commits (4b4557eb97bcabe5d920c44eb4f60a2deb8c5d67)

Author SHA1 Message Date
Kevin Hildebrand 9f2bc2853d Fix the interface handling code to allow permanent and non-permanent operations.
Also avoid using add_interface because it breaks in cases where the interface is already bound to a different zone.
9 years ago
codehopper-uk aa29a4fd9c Basic ability to set masquerade options from ansible, according to current code design/layout (mostly) (#2017)
* Support for masquerade settings

Ability to enable and disable masquerade settings from ansible via:
- firewalld: mapping=masquerade state=disabled permanent=true zone=dmz

Placeholder added (mapping) to support masquerade and port_forward
choices initially - port_forward not implemented yet.

* Permanent and Immediate zone handling differentiated

* Corrected naming abstraction for masquerading functionality

Removed mapping tag with port_forward choices - not applicable!

* Added version info for new masquerade option

Pull Request #2017 failing due to missing version info
9 years ago
Michael Scherer 2dbfdaa88b Remove dead code (#1303)
The review on https://github.com/ansible/ansible-modules-extras/pull/1303
show the problem was already fixed, so we just need to remove the
code.
9 years ago
René Moser daddc7caf4 Merge pull request #1478 from m0/firewalld_interface
Extends firewalld module with ability to add/remove interfaces to/from zones
9 years ago
Michael Scherer 6b2bc9df04 Fix #1809, use the proper method to fail 9 years ago
Chad Nelson 0c2f602788 Doc wrongly indicates permanent is required
But it isn't. :)
9 years ago
Brian Coca 174bef08ae Merge pull request #1133 from lightblu/devel
Check to make sure the firewalld client is connected before proceeding
9 years ago
Mo 23aa66a48e firewalld: fixes documentation
- removes warning, aligning to existing documentation
- adds version
9 years ago
Mo c8e35023a4 firewalld: add/remove interfaces to/from zones 9 years ago
Brian Coca 82a4cf84be Merge pull request #1081 from ag-wood/firewalld-rr-fix
Fix for - Firewalld traces with ALREADY_ENABLED when using port name or re-ordered rich rule
9 years ago
Michael Scherer 037ff89063 Add a more explicit error message, fix #1282 9 years ago
Björn Lichtblau c4c7e43020 Check to make sure the firewalld client is connected before proceeding.
Fixes #1138

Original patch referenced in https://github.com/ansible/ansible/issues/6911 ( f547733b1f ) was undone by 6f2b61d2d8
9 years ago
ag-wood 8a07d070e1 Fix for ansible-modules-extras issue #1080 9 years ago
Daniel Nägele 39eb3807f3 fix #894 by actually updating with the modified settings 9 years ago
varnav 009ee165a8 Small improvement in documentation 9 years ago
Timothy Vandenbrande 68c85950b0 Merge remote-tracking branch 'upstream/devel' into devel 9 years ago
Timothy Vandenbrande 86fda85ba3 updated version added for source into the docs 9 years ago
Greg DeKoenigsberg 004dedba8a Changes to author formatting, remove emails 9 years ago
Rene Moser 6f2b61d2d8 firewalld: remove BabyJSON
See https://github.com/ansible/ansible-modules-extras/issues/430
9 years ago
Brian Coca edf519a0c2 moar quotes 9 years ago
Greg DeKoenigsberg e1385a9e8b Adding author's github id 9 years ago
Timothy Vandenbrande a90f5f6ba9 Merge remote-tracking branch 'upstream/devel' into devel 10 years ago
Brian Coca 09fc1eefe5 Merge pull request #114 from rndmh3ro/patch-1
Added documentation and example for port ranges.
10 years ago
Timothy Vandenbrande b365fc4464 added a source/network add/remove to/from zone for firewalld - removed useless comment 10 years ago
Timothy Vandenbrande 6fab8f49a9 added a source/network add/remove to/from zone for firewalld 10 years ago
Cosmo Petrich 443d7683a0 Remove default from 'permanent' and 'state' docs
These fields are both required, and thus do not actually have defaults.
10 years ago
Michael Scherer 62cae242cf Add a new option immediate= to immediately apply a permanent change
Currently, either you apply the change in the configuration
of firewalld ( without permanent=True ), or you apply it live.
I most of the time want to do the 2 at the same time, ie open the
port ( so I can use the service ) and make sure it stay open on reboot.
10 years ago
Sebastian Gumprich 040135dbba Added documentation and example for port ranges.
Also added punctuation marks.
10 years ago
Michael DeHaan b1e789968b File extensions! 10 years ago