# How can I participate to make Ansibel pkgng or portinstal "working" on FreeBSD

**URL:** <https://forum.ansible.com/t/how-can-i-participate-to-make-ansibel-pkgng-or-portinstal-working-on-freebsd/16763>\
**Category:** Ansible Project\
**Created:** [November 13, 2014, 12:45am UTC](https://forum.ansible.com/t/how-can-i-participate-to-make-ansibel-pkgng-or-portinstal-working-on-freebsd/16763 "2014-11-13T00:45:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laurentius\_Purba](https://avatars.discourse-cdn.com/v4/letter/l/7cd45c/32.png) [@Laurentius\_Purba](https://forum.ansible.com/u/Laurentius_Purba)\
**Post date:** [November 13, 2014, 12:45am UTC](https://forum.ansible.com/t/how-can-i-participate-to-make-ansibel-pkgng-or-portinstal-working-on-freebsd/16763/1 "2014-11-13T00:45:23Z")

</div>

Hello,

I would like to participate to make Ansibel pkgng or portinstal “working” on FreeBSD.

I was trying to update php version from 5.4.28 to 5.4.34 (the port has this version), but was unable to do so.

The playbook is as follows:

- hosts: 10.0.21.99  
remote\_user: jdoe  
sudo: yes  
tasks:
- name: Upgrade php5  
pkgng: name=lang/php5 state=present cached=yes

For some reason executing the above playbook (either with cached=yes or cached=no) did not update the php version to 5.4.34.

Using portinstal, the result was the same.

-Laurentius

---

<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:** [November 14, 2014, 8:41pm UTC](https://forum.ansible.com/t/how-can-i-participate-to-make-ansibel-pkgng-or-portinstal-working-on-freebsd/16763/2 "2014-11-14T20:41:47Z")

</div>

what versions of ansible, python and freebsd?

---

<div class="post-metadata">

**Author:** ![Laurentius\_Purba](https://avatars.discourse-cdn.com/v4/letter/l/7cd45c/32.png) [@Laurentius\_Purba](https://forum.ansible.com/u/Laurentius_Purba)\
**Post date:** [November 14, 2014, 10:49pm UTC](https://forum.ansible.com/t/how-can-i-participate-to-make-ansibel-pkgng-or-portinstal-working-on-freebsd/16763/3 "2014-11-14T22:49:03Z")

</div>

Hello Brian,

Thanks for your response.

See information below:

- Ansible: 1.7.2
- Python: 2.7.6
- FreeBSD: FreeBSD 10.0-RELEASE-p9  
Yes, I was able to do the PHP upgrade directly from the command line tools.

-Laurentius
