hostname - add Rocky Linux support (#74545)
This commit is contained in:
parent
728e43bc59
commit
2d41e5f99a
2 changed files with 8 additions and 0 deletions
2
changelogs/fragments/support_rocky_linux_hostname.yml
Normal file
2
changelogs/fragments/support_rocky_linux_hostname.yml
Normal file
|
@ -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…
Reference in a new issue