summaryrefslogtreecommitdiff
path: root/lib/ansible/modules
diff options
context:
space:
mode:
authorAaron Guise <guisea@users.noreply.github.com>2021-02-19 04:24:36 +1300
committerGitHub <noreply@github.com>2021-02-18 10:24:36 -0500
commitac0dedda72d605a2240ee99d05a5cecbd25cd80e (patch)
tree1149892b5fc91324c756875b2b96a3117fb06579 /lib/ansible/modules
parentccbfdec334a7b0443f2daecf9f96ac5c5a33fd45 (diff)
downloadansible-ac0dedda72d605a2240ee99d05a5cecbd25cd80e.tar.gz
hostname - add Almalinux support (#73619)
Diffstat (limited to 'lib/ansible/modules')
-rw-r--r--lib/ansible/modules/hostname.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ansible/modules/hostname.py b/lib/ansible/modules/hostname.py
index 3405f870b5..dc775547a9 100644
--- a/lib/ansible/modules/hostname.py
+++ b/lib/ansible/modules/hostname.py
@@ -773,6 +773,12 @@ class ArchARMHostname(Hostname):
strategy_class = SystemdStrategy
+class AlmaLinuxHostname(Hostname):
+ platform = 'Linux'
+ distribution = 'Almalinux'
+ strategy_class = SystemdStrategy
+
+
class ManjaroHostname(Hostname):
platform = 'Linux'
distribution = 'Manjaro'