community.general/lib/ansible/modules/system
Christian Kotte fc64ce3e0c Fix systemd service is already masked issue (#44730)
* Check if service is already masked

Newer versions of Systemd now report a 'LoadError' when the unit file
is masked. This causes the play to fail with an error stating that the
service is already masked.

Now the systemd module checks if the service is masked and doesn't
fail if it's masked and LoadError is reported.

Fixes issue #42384.

* Remove useless parens
2018-08-27 15:13:35 -04:00
..
__init__.py
aix_inittab.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
aix_lvol.py Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
alternatives.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
at.py at: PEP8 compliancy and doc fixes (#30881) 2017-10-30 00:56:54 +01:00
authorized_key.py authorized_key 29891 use os.path.realpath to follow keyfile symlinks (#40417) 2018-08-13 16:06:33 -07:00
awall.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
beadm.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
capabilities.py Ansible system module: sanity pep8 fixes (#32314) 2017-11-07 13:46:55 +01:00
cron.py Corrects environment variable in example. (#40162) 2018-05-15 17:22:07 -05:00
cronvar.py Ansible system module: sanity pep8 fixes (#32314) 2017-11-07 13:46:55 +01:00
crypttab.py Ansible system module: sanity pep8 fixes (#32314) 2017-11-07 13:46:55 +01:00
dconf.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
debconf.py Update debconf example (#33397) 2017-11-30 18:07:11 +10:00
facter.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
filesystem.py filesystem: use LANG=C when cmd output is parsed 2018-08-03 11:57:22 +02:00
firewalld.py Firewalld: Switch "true" To "yes" In Examples (#44588) 2018-08-24 10:17:56 +02:00
gconftool2.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
getent.py getent: PEP8 compliancy and doc fixes (#30885) 2017-10-30 00:58:04 +01:00
group.py Fix introduction version for parameter "local" in module "group" (#43719) 2018-08-06 11:40:19 -04:00
hostname.py Replace LooseVersion comparison with int/float comparison. Fixes #35435 (#35519) 2018-01-30 15:27:22 -06:00
interfaces_file.py Fix shebangs and file modes and update tests. (#40563) 2018-05-22 14:25:36 -07:00
iptables.py Update docs iptables.py (#41245) 2018-08-17 20:14:30 +02:00
java_cert.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
java_keystore.py [docs] required arguments: name (#43758) 2018-08-07 15:49:52 -04:00
kernel_blacklist.py Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
known_hosts.py Fixed hash_host option in known_hosts module. Fixes #44284 2018-08-21 10:28:45 -07:00
locale_gen.py Remove deprecated get_exception API 2018-02-05 23:39:56 -05:00
lvg.py lvg: Allow unit to be specified for pesize (#39666) 2018-05-07 07:50:58 +02:00
lvol.py Documentation change for resizefs (#43224) 2018-07-25 00:22:24 +02:00
make.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
mksysb.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
modprobe.py modprobe: PEP8 compliancy and doc fixes (#31255) 2017-10-08 09:21:58 -04:00
mount.py Fix for creation and removal of swap record in fstab (fixes #42706, #31437 and #30090) (#42837) 2018-07-31 17:09:38 -04:00
nosh.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
ohai.py Fix the docs link to Ohai in the Ohai module (#33788) 2018-03-08 17:00:17 -08:00
open_iscsi.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
openwrt_init.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
osx_defaults.py change OS X to macOS (#41294) 2018-06-26 14:09:23 -04:00
pam_limits.py Adds example of using wildcard domain in pam_limits (#43391) 2018-08-02 17:23:46 +10:00
pamd.py doc: fixes the the repetitions (#43937) 2018-08-22 21:53:30 +02:00
parted.py Stop throwing TypeErrors (#43036) 2018-07-22 02:31:46 -04:00
ping.py Clarify which ping module to use (#34935) 2018-01-17 14:02:06 +00:00
puppet.py Add additional puppet options (#42218) 2018-07-06 13:52:17 -04:00
python_requirements_facts.py New module: Python Requirements Facts (#43108) 2018-08-21 09:19:10 +10:00
reboot.py Add reboot action plugin (#35205) 2018-08-23 18:12:12 -07:00
runit.py Fixed spelling error in runit module (#35948) 2018-02-10 21:13:55 +05:30
seboolean.py PEP8 fixes: Ansible system module and playbook base.py (#32322) 2017-11-07 09:38:59 +01:00
sefcontext.py sefcontext: Improve documentation (#42416) 2018-07-09 12:13:25 +02:00
selinux.py Fixed check_mode status to be the same as normal execution (#40721) 2018-05-25 17:06:11 -04:00
selinux_permissive.py Clean up BOTMETA.yml (#44574) 2018-08-24 19:43:35 -04:00
seport.py Clean up BOTMETA.yml (#44574) 2018-08-24 19:43:35 -04:00
service.py Mass nuke deprecated items that are easily removed. ci_complete (#44320) 2018-08-20 16:26:10 -05:00
service_facts.py service_facts: Use LC_ALL/LANG=C to run commands (#44474) 2018-08-22 13:27:03 -04:00
setup.py Setup module: use C() formatting function in parameter descriptions, add a task based example (#42411) 2018-07-09 15:08:01 -04:00
solaris_zone.py Clean up BOTMETA.yml (#44574) 2018-08-24 19:43:35 -04:00
svc.py Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
sysctl.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
systemd.py Fix systemd service is already masked issue (#44730) 2018-08-27 15:13:35 -04:00
sysvinit.py Fix referenced before assignment in sysvinit module (#42695) 2018-08-15 09:59:03 -04:00
timezone.py BSDTimezone: distinguish UTC and Etc/UTC (#41234) 2018-06-11 10:27:50 -04:00
ufw.py "route" has to be the first option in ufw command (#31756) 2018-05-11 16:21:27 +01:00
user.py Properly un expire account on creation (#44174) 2018-08-23 12:29:33 -04:00
vdo.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00