mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Merge pull request #5063 from samh/devel
Fixed hostname module for RHEL6 Workstation
This commit is contained in:
@@ -226,11 +226,16 @@ class RedHat5Hostname(Hostname):
|
|||||||
distribution = 'Redhat'
|
distribution = 'Redhat'
|
||||||
strategy_class = RedHatStrategy
|
strategy_class = RedHatStrategy
|
||||||
|
|
||||||
class RedHatHostname(Hostname):
|
class RedHatServerHostname(Hostname):
|
||||||
platform = 'Linux'
|
platform = 'Linux'
|
||||||
distribution = 'Red hat enterprise linux server'
|
distribution = 'Red hat enterprise linux server'
|
||||||
strategy_class = RedHatStrategy
|
strategy_class = RedHatStrategy
|
||||||
|
|
||||||
|
class RedHatWorkstationHostname(Hostname):
|
||||||
|
platform = 'Linux'
|
||||||
|
distribution = 'Red hat enterprise linux workstation'
|
||||||
|
strategy_class = RedHatStrategy
|
||||||
|
|
||||||
class CentOSHostname(Hostname):
|
class CentOSHostname(Hostname):
|
||||||
platform = 'Linux'
|
platform = 'Linux'
|
||||||
distribution = 'Centos'
|
distribution = 'Centos'
|
||||||
|
|||||||
Reference in New Issue
Block a user