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

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)”}