community.general/lib/ansible/modules/system
Adam Miller 75127092f2 refactor firewalld module with object abstraction (#26487)
* refactor firewalld module with object abstraction

This change creates a FirewallTransaction object that each
individual transaction type is a sub-class of as they all follow the
same pattern to enable or disable something in the firewall.

Also, there's a few bugfixes here:
    - Fix the "source" type to handle permanent operations
    - Remove ambiguity of required parameters for only specific use
      cases that can lead to transactions effectively being a no-op.
      Instead, pick sane defaults and document them.
    - Change how imports are done so globals are no longer needed

This is based on the original feedback by Toshio from the last
refactor attempt:

    https://github.com/ansible/ansible-modules-extras/pull/3383

Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>

* fix line too long for pep8 for shippable tests

Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>

* remove firewalld from pep8/legacy-files

Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2017-09-11 14:10:07 -07:00
..
__init__.py
aix_inittab.py
aix_lvol.py
alternatives.py
at.py
authorized_key.py
awall.py
beadm.py
capabilities.py
cron.py
cronvar.py
crypttab.py
dconf.py
debconf.py
facter.py
filesystem.py
firewalld.py refactor firewalld module with object abstraction (#26487) 2017-09-11 14:10:07 -07:00
gconftool2.py
getent.py
gluster_volume.py
group.py
hostname.py
interfaces_file.py
iptables.py Cosmetic changes to documentation and arg_spec 2017-09-10 01:39:56 +02:00
java_cert.py
kernel_blacklist.py
known_hosts.py Fix section in known_hosts documentation 2017-09-10 20:24:46 -07:00
locale_gen.py
lvg.py
lvol.py
make.py
modprobe.py
mount.py
ohai.py
open_iscsi.py
openwrt_init.py
osx_defaults.py
pam_limits.py
pamd.py
parted.py
ping.py
puppet.py
runit.py
seboolean.py
sefcontext.py
selinux.py
selinux_permissive.py
seport.py
service.py
setup.py
solaris_zone.py
svc.py
sysctl.py
systemd.py
timezone.py
ufw.py
user.py