From b0fd1043e186c79d9fcc0f0d592ea3324deef6b6 Mon Sep 17 00:00:00 2001 From: E_zombie <181406+ezombie@users.noreply.github.com> Date: Wed, 11 Sep 2019 06:43:39 +0400 Subject: [PATCH] hostname: Add support for Astra Linux Common Edition (#59607) Add support Astra Linux Common Edition in hostname module --- lib/ansible/modules/system/hostname.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/ansible/modules/system/hostname.py b/lib/ansible/modules/system/hostname.py index dad4a16a01d..6c109ec9e34 100644 --- a/lib/ansible/modules/system/hostname.py +++ b/lib/ansible/modules/system/hostname.py @@ -607,6 +607,12 @@ class OpenSUSELeapHostname(Hostname): strategy_class = SystemdStrategy +class AsteraHostname(Hostname): + platform = 'Linux' + distribution = '"astralinuxce"' + strategy_class = SystemdStrategy + + class ArchHostname(Hostname): platform = 'Linux' distribution = 'Arch'