Add Cloudlinux support for hostname.py
**SUMMARY** Add Cloudlinux 6 and Cloudlinux 7 support **ISSUE TYPE** Feature Pull Request **COMPONENT NAME** lib/ansible/modules/system/hostname.py **ANSIBLE VERSION** ``` 2.4 ```
This commit is contained in:
parent
eb53f3c129
commit
10167d83ee
1 changed files with 10 additions and 0 deletions
|
@ -647,6 +647,16 @@ class CentOSLinuxHostname(Hostname):
|
|||
distribution = 'Centos linux'
|
||||
strategy_class = RedHatStrategy
|
||||
|
||||
class CloudlinuxHostname(Hostname):
|
||||
platform = 'Linux'
|
||||
distribution = 'Cloudlinux'
|
||||
strategy_class = RedHatStrategy
|
||||
|
||||
class CloudlinuxServerHostname(Hostname):
|
||||
platform = 'Linux'
|
||||
distribution = 'Cloudlinux server'
|
||||
strategy_class = RedHatStrategy
|
||||
|
||||
class ScientificHostname(Hostname):
|
||||
platform = 'Linux'
|
||||
distribution = 'Scientific'
|
||||
|
|
Loading…
Reference in a new issue