hostname: Add support for RedOS (#74844)

Fixes: #74779

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2021-05-27 21:18:48 +05:30 committed by GitHub
parent 138b3b6851
commit 148d4f6248
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,3 @@
---
minor_changes:
- hostname - add support RedOS (https://github.com/ansible/ansible/issues/74779).

View file

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