New in version 1.4.
/etc/hosts
. You need to modify it yourself using other modules like template or replace.- hostname: name: web01
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.