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.
2016-05-02 11:16:07 -04:00
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
2016-04-16 14:15:00 +02:00
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.
2016-04-12 08:13:24 +02:00
René Moser
daddc7caf4
Merge pull request #1478 from m0/firewalld_interface
...
Extends firewalld module with ability to add/remove interfaces to/from zones
2016-04-01 13:35:47 +02:00
Michael Scherer
6b2bc9df04
Fix #1809 , use the proper method to fail
2016-03-17 18:07:47 +01:00
Chad Nelson
0c2f602788
Doc wrongly indicates permanent is required
...
But it isn't. :)
2016-01-21 08:23:36 -05:00
Brian Coca
174bef08ae
Merge pull request #1133 from lightblu/devel
...
Check to make sure the firewalld client is connected before proceeding
2016-01-18 20:51:58 -05:00
Mo
23aa66a48e
firewalld: fixes documentation
...
- removes warning, aligning to existing documentation
- adds version
2016-01-16 23:02:58 +01:00
Mo
c8e35023a4
firewalld: add/remove interfaces to/from zones
2016-01-10 23:18:09 +01:00
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
2016-01-04 09:21:46 -05:00
Michael Scherer
037ff89063
Add a more explicit error message, fix #1282
2015-12-04 11:46:20 +01:00
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
2015-10-22 16:09:25 +02:00
ag-wood
8a07d070e1
Fix for ansible-modules-extras issue #1080
2015-10-11 23:17:23 +10:00
Daniel Nägele
39eb3807f3
fix #894 by actually updating with the modified settings
2015-09-08 15:28:05 +02:00
varnav
009ee165a8
Small improvement in documentation
2015-08-28 18:38:58 +03:00
Timothy Vandenbrande
68c85950b0
Merge remote-tracking branch 'upstream/devel' into devel
2015-06-29 14:19:33 +02:00
Timothy Vandenbrande
86fda85ba3
updated version added for source into the docs
2015-06-29 14:18:09 +02:00
Greg DeKoenigsberg
004dedba8a
Changes to author formatting, remove emails
2015-06-16 14:32:39 -04:00
Rene Moser
6f2b61d2d8
firewalld: remove BabyJSON
...
See https://github.com/ansible/ansible-modules-extras/issues/430
2015-06-16 11:33:11 -04:00
Brian Coca
edf519a0c2
moar quotes
2015-05-14 09:37:00 -04:00
Greg DeKoenigsberg
e1385a9e8b
Adding author's github id
2015-05-14 00:59:06 -04:00
Timothy Vandenbrande
a90f5f6ba9
Merge remote-tracking branch 'upstream/devel' into devel
2015-05-07 15:51:19 +02:00
Brian Coca
09fc1eefe5
Merge pull request #114 from rndmh3ro/patch-1
...
Added documentation and example for port ranges.
2015-03-25 23:41:05 -04:00
Timothy Vandenbrande
b365fc4464
added a source/network add/remove to/from zone for firewalld - removed useless comment
2014-12-19 09:35:40 +01:00
Timothy Vandenbrande
6fab8f49a9
added a source/network add/remove to/from zone for firewalld
2014-12-19 09:35:40 +01:00
Cosmo Petrich
443d7683a0
Remove default from 'permanent' and 'state' docs
...
These fields are both required, and thus do not actually have defaults.
2014-12-12 18:49:19 +11:00
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.
2014-12-01 19:51:11 +01:00
Sebastian Gumprich
040135dbba
Added documentation and example for port ranges.
...
Also added punctuation marks.
2014-11-20 20:48:41 +00:00
Michael DeHaan
b1e789968b
File extensions!
2014-09-26 10:40:16 -04:00