# New FreeBSD install seems modules are not found

**URL:** <https://forum.ansible.com/t/new-freebsd-install-seems-modules-are-not-found/23493>\
**Category:** Ansible Project\
**Created:** [January 18, 2017, 4:02pm UTC](https://forum.ansible.com/t/new-freebsd-install-seems-modules-are-not-found/23493 "2017-01-18T16:02:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Wayne](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@Michael\_Wayne](https://forum.ansible.com/u/Michael_Wayne)\
**Post date:** [January 18, 2017, 4:02pm UTC](https://forum.ansible.com/t/new-freebsd-install-seems-modules-are-not-found/23493/1 "2017-01-18T16:02:45Z")

</div>

FreeBSD 11, binary install using pkg install.

I can successfully do the initial commands:  
ansible all -m ping  
ansible all -a “/bin/echo hello”

So I tried a playbook for the simplest thing I could think of, install a file:

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [January 18, 2017, 11:45pm UTC](https://forum.ansible.com/t/new-freebsd-install-seems-modules-are-not-found/23493/2 "2017-01-18T23:45:23Z")

</div>

Not an installation issue, its indentation and task definition issues.

The - indicates item, in this case a task, but task items must be indented inside a task: or as part of a role.

The other issue is that a task requires an action, name is a property of a task and should always be in the same block with an action.

Your playbook should look like this:

---

<div class="post-metadata">

**Author:** ![Michael\_Wayne](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@Michael\_Wayne](https://forum.ansible.com/u/Michael_Wayne)\
**Post date:** [January 19, 2017, 4:20pm UTC](https://forum.ansible.com/t/new-freebsd-install-seems-modules-are-not-found/23493/3 "2017-01-19T16:20:07Z")

</div>

Thank you - that gets me past that hurdle.
