hostname: Add support for RedOS (#74844)
Fixes: #74779 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
138b3b6851
commit
148d4f6248
2 changed files with 9 additions and 0 deletions
3
changelogs/fragments/redos_hostname.yml
Normal file
3
changelogs/fragments/redos_hostname.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
minor_changes:
|
||||
- hostname - add support RedOS (https://github.com/ansible/ansible/issues/74779).
|
|
@ -923,6 +923,12 @@ class RockyHostname(Hostname):
|
|||
strategy_class = SystemdStrategy
|
||||
|
||||
|
||||
class RedosHostname(Hostname):
|
||||
platform = 'Linux'
|
||||
distribution = 'Redos'
|
||||
strategy_class = SystemdStrategy
|
||||
|
||||
|
||||
def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
|
|
Loading…
Reference in a new issue