summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/system/hostname.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/system/hostname.py')
-rw-r--r--lib/ansible/modules/system/hostname.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ansible/modules/system/hostname.py b/lib/ansible/modules/system/hostname.py
index 36fef64317..76f8f16057 100644
--- a/lib/ansible/modules/system/hostname.py
+++ b/lib/ansible/modules/system/hostname.py
@@ -627,6 +627,11 @@ class RedHat5Hostname(Hostname):
distribution = 'Redhat'
strategy_class = RedHatStrategy
+class RHELHostname(Hostname):
+ platform = 'Linux'
+ distribution = 'Red hat enterprise linux'
+ strategy_class = RedHatStrategy
+
class RedHatServerHostname(Hostname):
platform = 'Linux'
distribution = 'Red hat enterprise linux server'