ANSIBLE.EASY_INSTALL(3)

NAME
easy_install - Installs Python libraries

DESCRIPTION

Installs Python libraries, optionally in a virtualenv

OPTIONS

name
    A Python library name(required)

virtualenv
    an optional virtualenv directory path to install into. If the virtualenv does not exist, it is created automatically

virtualenv_command
    The command to create the virtual environment with. For example pyvenv, virtualenv, virtualenv2. (default: virtualenv)(Added in Ansible version 1.1.)

virtualenv_site_packages
    Whether the virtual environment will inherit packages from the global site-packages directory. Note that if this setting is changed on an already existing virtual environment it will not have any effect, the environment must be deleted and newly created. Choices: yes,no. (default: no)(Added in Ansible version 1.1.)

NOTES

Please note that the easy_install module can only install Python libraries. Thus this module is not able to remove libraries. It is generally recommended to use the pip module which you can first install using easy_install.

Also note that virtualenv must be installed on the remote host if the virtualenv parameter is specified.

EXAMPLES

Examples from Ansible Playbooks
easy_install: name=pip

Install Flask (http://flask.pocoo.org/) into the specified virtualenv
easy_install: name=flask virtualenv=/webapps/myapp/venv
None

AUTHOR
Matt Wright

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#easy-install