This is how I setup Ansible on a vanilla Ubuntu 14.04 box:
https://gist.github.com/trondhindenes/01cbcd3e3a98ff57fc00cc5fde97545a
On Monday, August 15, 2016 at 4:19:39 PM UTC+2, RoboWhite wrote:
>
> Hi ,
>
> I am new to this Ansible.
>
> I was gone through the first step, and got the below update.
>
> sudo easy_install pip
> Searching for pip
> Best match: pip 8.1.2
> Processing pip-8.1.2-py2.7.egg
> pip 8.1.2 is already the active version in easy-install.pth
> Installing pip script to /usr/local/bin
> Installing pip2.7 script to /usr/local/bin
> Installing pip2 script to /usr/local/bin
>
> Using /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg
> Processing dependencies for pip
> Finished processing dependencies for pip
>
> I was gone through the second step, and gone through the below error. Can
> you help on fixing this.
>
> sudo pip install ansible
> The directory '/Users/Ramesh/Library/Caches/pip/http' or its parent directory
> is not owned by the current user and the cache has been disabled. Please
> check the permissions and owner of that directory. If executing pip with
> sudo, you may want sudo's -H flag.
> The directory '/Users/Ramesh/Library/Caches/pip' or its parent directory is
> not owned by the current user and caching wheels has been disabled. check the
> permissions and owner of that directory. If executing pip with sudo, you may
> want sudo's -H flag.
> ...
> ...
> ...
> *Command "/usr/bin/python -u -c "import setuptools,
> tokenize;__file__='/private/tmp/pip-build-a1b7Ba/pycrypto/setup.py';exec(compile(getattr(tokenize,
> 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
> install --record /tmp/pip-hjCGT7-record/install-record.txt
> --single-version-externally-managed --compile" failed with error code 1 in
> /private/tmp/pip-build-a1b7Ba/pycrypto/
> *
>
> **
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/9f5e52d6-ae37-4b75-afe8-464526a206f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.