mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 06:30:19 -07:00
hostname module: add support for Amazon Linux
This commit is contained in:
parent
52b2cfedfc
commit
d39e6fda92
2 changed files with 10 additions and 2 deletions
|
@ -236,6 +236,11 @@ class CentOSHostname(Hostname):
|
|||
distribution = 'Centos'
|
||||
strategy_class = RedHatStrategy
|
||||
|
||||
class AmazonLinuxHostname(Hostname):
|
||||
platform = 'Linux'
|
||||
distribution = 'Amazon'
|
||||
strategy_class = RedHatStrategy
|
||||
|
||||
# ===========================================
|
||||
|
||||
class FedoraStrategy(GenericStrategy):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue