[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>
pull/74728/head
Sam Doran 4 years ago committed by GitHub
parent ebf7233e35
commit dd7118c433
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -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(

Loading…
Cancel
Save