hostname - add Rocky Linux support (#74545)

This commit is contained in:
Louis Abel 2021-05-04 06:11:44 -07:00 committed by GitHub
parent 728e43bc59
commit 2d41e5f99a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- hostname - Add Rocky Linux support

View file

@ -1001,6 +1001,12 @@ class PopHostname(Hostname):
strategy_class = DebianStrategy
class RockyHostname(Hostname):
platform = 'Linux'
distribution = 'Rocky'
strategy_class = SystemdStrategy
def main():
module = AnsibleModule(
argument_spec=dict(