# Ansible vs FreeBSD 10 port install

**URL:** <https://forum.ansible.com/t/ansible-vs-freebsd-10-port-install/15426>\
**Category:** Ansible Project\
**Created:** [June 7, 2014, 10:01pm UTC](https://forum.ansible.com/t/ansible-vs-freebsd-10-port-install/15426 "2014-06-07T22:01:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francisco\_Reyes](https://avatars.discourse-cdn.com/v4/letter/f/b77776/32.png) [@Francisco\_Reyes](https://forum.ansible.com/u/Francisco_Reyes)\
**Post date:** [June 7, 2014, 10:01pm UTC](https://forum.ansible.com/t/ansible-vs-freebsd-10-port-install/15426/1 "2014-06-07T22:01:19Z")

</div>

Just filled a bug, [https://github.com/ansible/ansible/issues/7691](https://github.com/ansible/ansible/issues/7691), and was wondering if others are able to have ansible work with FreeBSD to install ports.

So far the two ports I needed ansible to install so far both failed; apache 2.4 and nginx.

For simpler programs, or programs that the defaults are ok I have been successfully using the pkg module

For example when I try this

portinstall: name=www/nginx

I get

---

<div class="post-metadata">

**Author:** ![James\_Cammarata](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Post date:** [June 8, 2014, 1:32am UTC](https://forum.ansible.com/t/ansible-vs-freebsd-10-port-install/15426/2 "2014-06-08T01:32:57Z")

</div>

Thanks for reporting this, I’m grabbing the FreeBSD 10 ISO now to see if I can reproduce this. We always consider any traceback a bug, regardless of the cause, but based on the above, this is most likely caused by a change in the output format of the command the module is running to see what packages are installed already.

---

<div class="post-metadata">

**Author:** ![Francisco\_Reyes](https://avatars.discourse-cdn.com/v4/letter/f/b77776/32.png) [@Francisco\_Reyes](https://forum.ansible.com/u/Francisco_Reyes)\
**Post date:** [June 8, 2014, 1:37am UTC](https://forum.ansible.com/t/ansible-vs-freebsd-10-port-install/15426/3 "2014-06-08T01:37:29Z")

</div>

If it is any easier.. I can get you a VM with FreeBSD 10..  
Let me know if that would help.
