community.general/lib/ansible/modules/system
Mohammed Naser f9b4499082 Set facts type to dict
With newer versions of ansible, module arguments are assumed to
be strings unless otherwise specified.  Our 'facts' argument is
expected to be a dictionary, so tell ansible that.

Without this, the argument will arrive as a string and be written
to the facter file inside string quotes.  Facter will produce the
following error:

  undefined method `each' for #<String:0x000000016ee640>

This was originally fixed and found in the Ansible Puppet role which
is maintained by the OpenStack infrastructure team.

8d0f0bfd0a
2017-05-14 14:10:38 -04:00
..
__init__.py
aix_inittab.py adjusted descriptions in DOCUMENTATION, and fixed type in RETURN 2017-05-04 07:38:34 -07:00
aix_lvol.py Added AIX LV module (#20574) 2017-04-18 15:05:08 +02:00
alternatives.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
at.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
authorized_key.py fixed RETURN docs for modules (#24011) 2017-04-26 15:56:13 +01:00
beadm.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
capabilities.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
cron.py cron: don't force changed=True when old crontab was empty 2017-03-28 07:45:13 -07:00
cronvar.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
crypttab.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
debconf.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
facter.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
filesystem.py Add checks to confirm that the output from `xfs_info` has the expected format. 2017-04-12 08:34:51 -07:00
firewalld.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
gconftool2.py Fix for setting values using gconftool-2 (#23713) 2017-04-19 14:20:21 +01:00
getent.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
gluster_volume.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
group.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
hostname.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
iptables.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
java_cert.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
kernel_blacklist.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
known_hosts.py Pep8 fixes for known_hosts.py (#24029) 2017-04-27 09:21:49 -05:00
locale_gen.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
lvg.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
lvol.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
make.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
modprobe.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
mount.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
ohai.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
open_iscsi.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
openwrt_init.py Dropped openwrt module from curated to community (#22657) 2017-03-15 14:28:02 -07:00
osx_defaults.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
pam_limits.py Fix pam_limits writing text to a file opened in binary mode 2017-05-11 17:17:12 -07:00
pamd.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
parted.py fixed RETURN docs for modules (#24011) 2017-04-26 15:56:13 +01:00
ping.py Add integration test that modules are loaded from the expected locations (#24170) 2017-05-01 08:52:25 -07:00
puppet.py Set facts type to dict 2017-05-14 14:10:38 -04:00
runit.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
seboolean.py Update requirements for seboolean module (fixes #23028) 2017-03-29 07:24:30 -07:00
sefcontext.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
selinux.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
selinux_permissive.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
seport.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
service.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
setup.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
solaris_zone.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00
svc.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
sysctl.py sysctl: switch basestring to string_types (#24277) 2017-05-03 21:31:57 -04:00
systemd.py Improve parsing of 'systemctl show' output 2017-04-27 11:42:26 -04:00
timezone.py fixed RETURN docs for modules (#24011) 2017-04-26 15:56:13 +01:00
ufw.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
user.py fix #24429 (#24491) 2017-05-11 13:59:39 -07:00