pip

Collection: builtin

Full Name: parallax.builtin.pip

Aliases: ansible.builtin.pip, pip

Synopsis

Manage pip

Parameters

NameTypeRequiredDefaultDescription
namelistPackage names to install/uninstall
statestringpresentDesired package state Choices: present, absent, latest, forcereinstall
versionstringPackage version specifier
requirementsstringPath to a pip requirements file
virtualenvstringPath to a virtualenv directory to install into
virtualenv_commandstringvirtualenvCommand used to create the virtualenv
virtualenv_pythonstringPython executable used to create the virtualenv
virtualenv_site_packagesboolfalseInclude system site-packages in the virtualenv
extra_argsstringExtra arguments passed to pip
executablestringpipPip executable to use
editableboolfalseInstall packages in editable mode
chdirstringChange to this directory before running pip

Example

- name: Example pip task
  pip:
    name: <your_name>
    state: present