# msg: hostname module cannot be used on platform Linux (Neon)

**URL:** <https://forum.ansible.com/t/msg-hostname-module-cannot-be-used-on-platform-linux-neon/24573>\
**Category:** Ansible Project\
**Created:** [May 24, 2017, 9:42pm UTC](https://forum.ansible.com/t/msg-hostname-module-cannot-be-used-on-platform-linux-neon/24573 "2017-05-24T21:42:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emmet\_Ryan](https://avatars.discourse-cdn.com/v4/letter/e/87869e/32.png) [@Emmet\_Ryan](https://forum.ansible.com/u/Emmet_Ryan)\
**Post date:** [May 24, 2017, 9:42pm UTC](https://forum.ansible.com/t/msg-hostname-module-cannot-be-used-on-platform-linux-neon/24573/1 "2017-05-24T21:42:55Z")

</div>

Has anyone else run into issues using the hostname module on KDE Neon hosts? I recently updated to 2.3 which introduces Neon support. This is the task:

- name: set hostname  
hostname:  
name: “{{ host }}”

and the resulting output:

TASK [workstations/common : set hostname] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [eryan3]: FAILED! =\> {“changed”: false, “failed”: true, “msg”: “hostname module cannot be used on platform Linux (Neon)”}
