zuul-jobs/roles/bindep
Monty Taylor fe6dc2204d
Use package module to install bindep packages
We can pass in a list of packages and the package managers we care about
should accept a list as input. We can't do the with_items trick because
the package action plugin does not support it.

Change-Id: Id79f33caa7cb3ab7255490d02cd2b43fc7d5227b
2017-07-13 08:07:03 -05:00
..
defaults Rework bindep role to be more ansible and less shell 2017-07-09 09:27:09 -05:00
handlers Make sure bindep is on the node 2017-07-09 07:46:07 -05:00
tasks Use package module to install bindep packages 2017-07-13 08:07:03 -05:00
README.rst Rework bindep role to be more ansible and less shell 2017-07-09 09:27:09 -05:00

README.rst

Installs distro packages using bindep tool

Looks for a bindep.txt in a project's source directory, or failing that a other-requirements.txt. If one exists, run bindep on the file to produce a list of required distro packages that do not exist and then install the missing packages.

Role Variables

bindep_dir

The directory to look for bindep files in. Defaults to current directory.

bindep_profile

A specific bindep profile to request. Defaults to empty.

bindep_file

Path to a specific bindep file to read from.

bindep_command

Path to the bindep command. Defaults to unset which will look for a system installed bindep. If bindep_command is not found, bindep will be installed into a temporary virtualenv.

bindep_fallback

Path to a bindep fallback file to be used if no bindep file can be found in bindep_dir.