From b12925fcdbc183ae44c331561985abfd6b6f0e4a Mon Sep 17 00:00:00 2001 From: dsilakov Date: Tue, 29 Aug 2017 21:02:24 +0300 Subject: [PATCH] Support Virtuozzo Linux Host in hostname module (#25963) --- lib/ansible/modules/system/hostname.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/ansible/modules/system/hostname.py b/lib/ansible/modules/system/hostname.py index 09fc7a9b73..330e22ad90 100644 --- a/lib/ansible/modules/system/hostname.py +++ b/lib/ansible/modules/system/hostname.py @@ -665,6 +665,13 @@ class OracleLinuxHostname(Hostname): distribution = 'Oracle linux server' strategy_class = RedHatStrategy + +class VirtuozzoLinuxHostname(Hostname): + platform = 'Linux' + distribution = 'Virtuozzo linux' + strategy_class = RedHatStrategy + + class AmazonLinuxHostname(Hostname): platform = 'Linux' distribution = 'Amazon'