easy_install

Collection: community.general

Full Name: parallax.community.general.easy_install

Aliases: community.general.easy_install, easy_install

Synopsis

Install Python packages with easy_install

Parameters

NameTypeRequiredDefaultDescription
namestringyesA Python library name
statestringpresentThe desired state of the library (present, latest)
virtualenvstringAn optional path to a virtualenv directory to install into
virtualenv_commandstringvirtualenvThe command to create the virtual environment
virtualenv_site_packagesboolfalseWhether the virtual environment will inherit packages from the global site-packages
executablestringeasy_installThe explicit executable to use for easy_install

Example

- name: Install a package into a virtualenv
  easy_install:
    name: pip
    virtualenv: /srv/app/.venv
    state: present