From 37d6c101331b92065eed61c8e251f7933b39d683 Mon Sep 17 00:00:00 2001 From: Evgenii Terechkov Date: Sat, 25 Apr 2015 01:25:14 +0700 Subject: [PATCH] Add ALT Linux support to hostname module --- lib/ansible/modules/system/hostname.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/ansible/modules/system/hostname.py b/lib/ansible/modules/system/hostname.py index 3ec243af1f6..3b67036f089 100644 --- a/lib/ansible/modules/system/hostname.py +++ b/lib/ansible/modules/system/hostname.py @@ -425,6 +425,11 @@ class GentooHostname(Hostname): distribution = 'Gentoo base system' strategy_class = OpenRCStrategy +class ALTLinuxHostname(Hostname): + platform = 'Linux' + distribution = 'Altlinux' + strategy_class = RedHatStrategy + # =========================================== def main():