hostname: PopOS support ()

Added support for PopOS in hostname module.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2020-05-08 01:06:14 +05:30 committed by GitHub
parent 084587913a
commit e28e86a428
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions
changelogs/fragments
lib/ansible/modules/system

View file

@ -0,0 +1,2 @@
minor_changes:
- Added hostname support for PopOS in hostname module.

View file

@ -814,6 +814,12 @@ class VoidLinuxHostname(Hostname):
strategy_class = DebianStrategy
class PopHostname(Hostname):
platform = 'Linux'
distribution = 'Pop'
strategy_class = DebianStrategy
def main():
module = AnsibleModule(
argument_spec=dict(