Fix lack of support for Cumulus Linux with Hostname module in Ansible v2.8.0. (#57493)
This commit is contained in:
parent
7d9cac8e47
commit
1661c87bae
2 changed files with 8 additions and 0 deletions
2
changelogs/fragments/hostname_cumulus_linux_support.yaml
Normal file
2
changelogs/fragments/hostname_cumulus_linux_support.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- hostname - Readded support for Cumulus Linux which broke in v2.8.0 (https://github.com/ansible/ansible/pull/57493)
|
|
@ -637,6 +637,12 @@ class DebianHostname(Hostname):
|
|||
strategy_class = DebianStrategy
|
||||
|
||||
|
||||
class CumulusHostname(Hostname):
|
||||
platform = 'Linux'
|
||||
distribution = 'Cumulus-linux'
|
||||
strategy_class = DebianStrategy
|
||||
|
||||
|
||||
class KaliHostname(Hostname):
|
||||
platform = 'Linux'
|
||||
distribution = 'Kali'
|
||||
|
|
Loading…
Reference in a new issue