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
patchback[bot] 99a161bd06
Use platform.system for Darwin comparisons (#945) (#972)
* 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>
(cherry picked from commit 954fb0a311)

Co-authored-by: Matt Martz <matt@sivel.net>
2020-09-28 08:48:50 +02:00
..
aix_devices.py
aix_filesystem.py
aix_inittab.py
aix_lvg.py
aix_lvol.py
alternatives.py
awall.py
beadm.py
capabilities.py
cronvar.py
crypttab.py
dconf.py
dpkg_divert.py
facter.py
filesystem.py
gconftool2.py
interfaces_file.py interfaces_file: re.escape() old value (#880) 2020-09-12 20:10:31 +02:00
iptables_state.py
java_cert.py
java_keystore.py
kernel_blacklist.py
launchd.py launchd: fix for user-level services (#899) (#970) 2020-09-28 07:15:48 +02:00
lbu.py
listen_ports_facts.py
locale_gen.py
lvg.py
lvol.py
make.py
mksysb.py
modprobe.py
nosh.py
ohai.py
open_iscsi.py
openwrt_init.py
osx_defaults.py
pam_limits.py
pamd.py
parted.py
pids.py
puppet.py
python_requirements_facts.py
python_requirements_info.py
runit.py
sefcontext.py
selinux_permissive.py
selogin.py
seport.py
shutdown.py
solaris_zone.py
svc.py
syspatch.py
sysupgrade.py sysupgrade: new module (#341) 2020-08-18 09:11:48 +02:00
timezone.py Use platform.system for Darwin comparisons (#945) (#972) 2020-09-28 08:48:50 +02:00
ufw.py
vdo.py
xfconf.py Update xfconf.py: make locale-independent (#744) 2020-08-18 08:30:24 +02:00
xfs_quota.py