zuul-jobs/roles/bindep
Tristan Cacqueray 8a6b1215c3 bindep: use shell instead of command with executable
As of Ansible 2.4, the parameter 'executable' is
no longer supported with the 'command' module.

Also check for return code since it the |succeed changed
and now always returns True when using failed_when: false.

Change-Id: I4c33db7f3d6fd613a6144f7520054cbcf50684e1
2018-02-22 06:40:11 +00:00
..
defaults Update bindep role defaults to be more sane 2017-10-17 16:18:22 +02:00
handlers Make sure bindep is on the node 2017-07-09 07:46:07 -05:00
tasks bindep: use shell instead of command with executable 2018-02-22 06:40:11 +00:00
README.rst Update bindep role defaults to be more sane 2017-10-17 16:18:22 +02:00

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

Path to a specific bindep file to read from.

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.

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