[stable-2.11] hostname - add Rocky Linux support (#74545) (#74560)

(cherry picked from commit 2d41e5f99a)

Co-authored-by: Louis Abel <nazunalika@users.noreply.github.com>
This commit is contained in:
Sam Doran 2021-05-17 05:24:35 -04:00 committed by GitHub
parent ebf7233e35
commit dd7118c433
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(