# Writing a new Ansible FreeIPA module A ansible-freeipa module should have: * Code: * A module file placed in `plugins/modules/.py` * Documentation: * `README-.md` file in the root directory and linked from the main README.md * Example playbooks in `playbooks//` directory * Tests: * Test cases (also playbooks) defined in `tests//test_.yml`. It's ok to have multiple files in this directory. Use the script `utils/new_module` to create the stub files for a new module.