title: Ansible Hostname Module - Adding OS Support
body: <p>I'm attempting to use the Ansible Hostname module to update a hostname.  Works fine on CentOS, however throws a fatal error on CloudLinux operating system.</p>
  
  <blockquote>
    <p>msg: hostname module cannot be used on platform Linux (Cloudlinux)</p>
  </blockquote>
  
  <p>CloudLinux is a drop in replacement for CentOS, so this module will work.  The error is a preflight check before the command is run, which is built into the module.</p>
  
  <p>The question - how do i tell Ansible that 'CloudLinux' is a valid operating system for this module.</p>
  
  <p>Obviously I could just use the command module to change the hostname - but I'd like to use the correct module if possible.</p>