From e2b9c36080f3bdc3b119a1570bde6b0c1105bfec Mon Sep 17 00:00:00 2001 From: Alb0t <40698370+Alb0t@users.noreply.github.com> Date: Fri, 12 Oct 2018 03:23:03 -0500 Subject: [PATCH] Add Alibaba to RedHat family list. (#46828) --- lib/ansible/module_utils/facts/system/distribution.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/facts/system/distribution.py b/lib/ansible/module_utils/facts/system/distribution.py index 3f15f7c645..cf59fdc8b9 100644 --- a/lib/ansible/module_utils/facts/system/distribution.py +++ b/lib/ansible/module_utils/facts/system/distribution.py @@ -421,7 +421,7 @@ class Distribution(object): # keep keys in sync with Conditionals page of docs OS_FAMILY_MAP = {'RedHat': ['RedHat', 'Fedora', 'CentOS', 'Scientific', 'SLC', 'Ascendos', 'CloudLinux', 'PSBM', 'OracleLinux', 'OVS', - 'OEL', 'Amazon', 'Virtuozzo', 'XenServer'], + 'OEL', 'Amazon', 'Virtuozzo', 'XenServer', 'Alibaba'], 'Debian': ['Debian', 'Ubuntu', 'Raspbian', 'Neon', 'KDE neon', 'Linux Mint', 'SteamOS', 'Devuan'], 'Suse': ['SuSE', 'SLES', 'SLED', 'openSUSE', 'openSUSE Tumbleweed',