# Error in a installation of CKAN through Ansible in a Ubuntu 14.04 virtual machine.

**URL:** <https://forum.ansible.com/t/error-in-a-installation-of-ckan-through-ansible-in-a-ubuntu-14-04-virtual-machine/27119>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [March 26, 2018, 4:49pm UTC](https://forum.ansible.com/t/error-in-a-installation-of-ckan-through-ansible-in-a-ubuntu-14-04-virtual-machine/27119 "2018-03-26T16:49:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Antonio\_Padez\_de\_Cas](https://avatars.discourse-cdn.com/v4/letter/a/439d5e/32.png) [@Antonio\_Padez\_de\_Cas](https://forum.ansible.com/u/Antonio_Padez_de_Cas)\
**Post date:** [March 26, 2018, 4:49pm UTC](https://forum.ansible.com/t/error-in-a-installation-of-ckan-through-ansible-in-a-ubuntu-14-04-virtual-machine/27119/1 "2018-03-26T16:49:15Z")

</div>

Hi,

I’m trying to replicate an installation of CKAN through Ansible in a Ubuntu 14.04 virtual machine.

But i have this error:

`

---

<div class="post-metadata">

**Author:** ![Andrea\_Dell\_Amico](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Andrea\_Dell\_Amico](https://forum.ansible.com/u/Andrea_Dell_Amico)\
**Post date:** [March 26, 2018, 5:40pm UTC](https://forum.ansible.com/t/error-in-a-installation-of-ckan-through-ansible-in-a-ubuntu-14-04-virtual-machine/27119/2 "2018-03-26T17:40:09Z")

</div>

Run a task - as root - similar to

- name: Create the pip cache directory with the right permissions  
file: dest={{ ckan\_libdir }}/.cache owner={{ ckan\_shell\_user }} group={{ ckan\_shell\_user }} state=directory

before using pip inside the ckan virtualenv

Best,  
Andrea
