<!--- Verify first that your issue is not already reported on GitHub -->
<!--- Also test if the latest release and devel branch are affected too -->
<!--- Complete *all* sections as described, this form is processed automatically -->

##### SUMMARY
hostname module fails on linux pardus distributions.

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
<!--- Write the short name of the module, plugin, task or feature below, use your best guess if unsure -->

##### ANSIBLE VERSION
<!--- Paste verbatim output from "ansible --version" between quotes -->
```
3.8.2
```

##### CONFIGURATION
<!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes -->
```paste below

```

##### OS / ENVIRONMENT
Pardus Gnu/Linux 19.3


##### STEPS TO REPRODUCE
<!--- Describe exactly how to reproduce the problem, using a minimal test-case -->

<!--- Paste example playbooks or commands between quotes below -->
```
 - name: set hostname
    hostname:
      name: "pardus"
```

<!--- HINT: You can paste gist.github.com links for larger files -->

##### EXPECTED RESULTS
should set hostname on pardus as well


##### ACTUAL RESULTS
<!--- Describe what actually happened. If possible run with extra verbosity (-vvvv) -->

<!--- Paste verbatim command output between quotes -->
```
hostname module cannot be used on platform Linux (pardus)
```

return parsed, dist_file_dict
        except AttributeError as exc:
            self.module.debug('exc: %s' % exc)
            
            return False, dist_file_dict
        return True, dist_file_dict
        
        
        
        
        
        
        
    def _guess_distribution(self):
        
        dist = (get_distribution(), get_distribution_version(), get_distribution_codename())
        distribution_guess = {
            'distribution': dist[0] or 'NA',
            'distribution_version': dist[1] or 'NA',
            
            'distribution_release': 'NA' if dist[2] is None else dist[2]
        }
        distribution_guess['distribution_major_version'] = distribution_guess['distribution_version'].split('.')[0] or 'NA'
        return distribution_guess
    def process_dist_files(self):
        
        
        dist_file_facts = {}
        dist_guess = self._guess_distribution()
        dist_file_facts.update(dist_guess)