1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins/modules/system
Matt Martz 954fb0a311
Use platform.system for Darwin comparisons (#945)
* Use platform.system for Darwin comparisons

In Python3, `platform.platform()` returns `macOS-10.15.6-x86_64-i386-64bit` instead of `Darwin-10.15.6-x86_64-i386-64bit`. 

`platform.system()` returns `Darwin` On py2 and py3.

* Add changlog fragment

* Update changelogs/fragments/945-darwin-timezone-py3.yaml

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
2020-09-28 08:12:38 +02:00
..
aix_devices.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
aix_filesystem.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
aix_inittab.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
aix_lvg.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
aix_lvol.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
alternatives.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
awall.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
beadm.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
capabilities.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
cronvar.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
crypttab.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
dconf.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
dpkg_divert.py Add version_added for all new features (#214) 2020-06-13 15:01:19 +02:00
facter.py Remove ANSIBLE_METADATA (#339) 2020-05-14 14:03:42 +01:00
filesystem.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
gconftool2.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
interfaces_file.py interfaces_file: re.escape() old value (#873) 2020-09-08 14:48:20 +02:00
iptables_state.py New module: iptables_state (#271) 2020-08-15 10:36:07 +02:00
java_cert.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
java_keystore.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
kernel_blacklist.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
launchd.py launchd: fix for user-level services (#899) 2020-09-27 22:30:22 +02:00
lbu.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
listen_ports_facts.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
locale_gen.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
lvg.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
lvol.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
make.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
mksysb.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
modprobe.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
nosh.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
ohai.py Fix M(). (#591) 2020-06-29 14:59:15 +02:00
open_iscsi.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
openwrt_init.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
osx_defaults.py osx_defaults: fix handling negative integers (#676) 2020-07-21 16:12:21 +02:00
pam_limits.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
pamd.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
parted.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
pids.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
puppet.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
python_requirements_facts.py Initial commit 2020-03-09 09:11:07 +00:00
python_requirements_info.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
runit.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
sefcontext.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
selinux_permissive.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
selogin.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
seport.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
shutdown.py New module: shutdown (#700) 2020-08-11 17:54:41 +02:00
solaris_zone.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
svc.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
syspatch.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
sysupgrade.py sysupgrade: new module (#341) 2020-08-18 09:10:41 +02:00
timezone.py Use platform.system for Darwin comparisons (#945) 2020-09-28 08:12:38 +02:00
ufw.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
vdo.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
xfconf.py Update xfconf.py: make locale-independent (#744) 2020-08-11 12:27:33 +02:00
xfs_quota.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00