Skip to content

Commit

Permalink
Add alinux hostname module support (ansible#72894)
Browse files Browse the repository at this point in the history
  • Loading branch information
logerrors authored Dec 8, 2020
1 parent bc35fbf commit 8f77e95
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- hostname - Fixed an issue where the hostname on the alinux could not be set.
6 changes: 6 additions & 0 deletions lib/ansible/modules/hostname.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,12 @@ class CloudlinuxHostname(Hostname):
strategy_class = RedHatStrategy


class AlinuxHostname(Hostname):
platform = 'Linux'
distribution = 'Alinux'
strategy_class = RedHatStrategy


class CoreosHostname(Hostname):
platform = 'Linux'
distribution = 'Coreos'
Expand Down

0 comments on commit 8f77e95

Please sign in to comment.