mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
hostname module: add support for Amazon Linux
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user