|
|
@ -18,9 +18,6 @@
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this software. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# along with this software. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
|
|
# import module snippets
|
|
|
|
|
|
|
|
from ansible.module_utils.basic import *
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BINS = dict(
|
|
|
|
BINS = dict(
|
|
|
|
ipv4='iptables',
|
|
|
|
ipv4='iptables',
|
|
|
|
ipv6='ip6tables',
|
|
|
|
ipv6='ip6tables',
|
|
|
@ -363,5 +360,8 @@ def main():
|
|
|
|
|
|
|
|
|
|
|
|
module.exit_json(**args)
|
|
|
|
module.exit_json(**args)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# import module snippets
|
|
|
|
|
|
|
|
from ansible.module_utils.basic import *
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
if __name__ == '__main__':
|
|
|
|
main()
|
|
|
|
main()
|
|
|
|