[stable-2.10] hostname - add Almalinux support (#73619) (#73648)

(cherry picked from commit ac0dedda72)

Co-authored-by: Aaron Guise <guisea@users.noreply.github.com>
This commit is contained in:
Sam Doran 2021-03-08 05:28:07 -05:00 committed by GitHub
parent 3e95e3c0a0
commit ebe0ed9331
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 Almalinux support (https://github.com/ansible/ansible/pull/73619)

View file

@ -632,6 +632,12 @@ class ArchARMHostname(Hostname):
strategy_class = SystemdStrategy
class AlmaLinuxHostname(Hostname):
platform = 'Linux'
distribution = 'Almalinux'
strategy_class = SystemdStrategy
class ManjaroHostname(Hostname):
platform = 'Linux'
distribution = 'Manjaro'