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 Update metadata to 1.1 2017-08-15 23:12:08 -07:00
aix_lvol.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
alternatives.py Alternatives module: Add a check that the path to the executable exist (#24800) 2017-08-18 15:31:06 -04:00
at.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
authorized_key.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
awall.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
beadm.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
capabilities.py Update capabilities.py (#23879) 2017-08-18 14:24:33 -04:00
cron.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
cronvar.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
crypttab.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
dconf.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
debconf.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
facter.py the use of --puppet has been deprecated (#23356) 2017-08-17 15:30:21 -04:00
filesystem.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
firewalld.py refactor firewalld module with object abstraction (#26487) 2017-09-11 14:10:07 -07:00
gconftool2.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
getent.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
gluster_volume.py Skip confirmation prompts in gluster_volume (#22402) (#28712) 2017-08-29 10:08:24 -04:00
group.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
hostname.py Add diff mode support to hostname module (#28781) 2017-08-29 14:04:23 -04:00
interfaces_file.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
iptables.py Cosmetic changes to documentation and arg_spec 2017-09-10 01:39:56 +02:00
java_cert.py java_cert role pkcs12 import (#24616) 2017-08-22 09:45:30 +02:00
kernel_blacklist.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
known_hosts.py Fix section in known_hosts documentation 2017-09-10 20:24:46 -07:00
locale_gen.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
lvg.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
lvol.py bug: lvol fail when LV already exists (#23635) 2017-08-22 10:47:56 -04:00
make.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
modprobe.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
mount.py Fix leading slashes being stripped from mount src (#24013) 2017-08-29 15:16:53 +02:00
ohai.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
open_iscsi.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
openwrt_init.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
osx_defaults.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
pam_limits.py pam_limits creates custom file if not exist (#26989) (#28616) 2017-08-29 09:43:34 -04:00
pamd.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
parted.py [parted] Fixes incorrect arg spec and check (#27839) 2017-08-29 22:18:22 +02:00
ping.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
puppet.py correct handeling of execute option (#23814) 2017-08-17 15:50:38 -04:00
runit.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
seboolean.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
sefcontext.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
selinux.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
selinux_permissive.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
seport.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
service.py fix check mode for solaris enable/disable (#29049) 2017-09-07 10:16:58 +10:00
setup.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
solaris_zone.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
svc.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
sysctl.py Add check for correct parsing of sysctl (#24540) 2017-08-18 15:31:26 -04:00
systemd.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
timezone.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ufw.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
user.py add Local useradd to user (#28420) 2017-08-29 12:43:08 -04:00