From 450d9c4a04e6f4772ad41cb89d1d6006151949ae Mon Sep 17 00:00:00 2001 From: Lassi Kortela Date: Thu, 16 Jan 2020 11:00:22 +0200 Subject: [PATCH] hostname - Add Void Linux distribution (#66499) Add support for Void Linux in hostname module. --- lib/ansible/modules/system/hostname.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/ansible/modules/system/hostname.py b/lib/ansible/modules/system/hostname.py index af6c13e41b3..e67aa31b543 100644 --- a/lib/ansible/modules/system/hostname.py +++ b/lib/ansible/modules/system/hostname.py @@ -802,6 +802,12 @@ class OsmcHostname(Hostname): strategy_class = SystemdStrategy +class VoidLinuxHostname(Hostname): + platform = 'Linux' + distribution = 'Void' + strategy_class = DebianStrategy + + def main(): module = AnsibleModule( argument_spec=dict(