New in version 0.4.
The bodhi directive interfaces with Bodhi to facilitate various actions. At the moment, the only action supported is downloading updates (i.e. all RPMs from all builds related to a specific update).
parameter | required | description | type | default | choices |
---|---|---|---|---|---|
action |
yes | specify action type. The only action available at the moment is download. |
str |
||
arch |
yes | a list of architectures for which to download RPMs. Note: noarch RPMs are always automatically downloaded even when not requested, unless arch=[] and src=True. |
list of str |
||
src |
no | download also src RPM files |
bool |
False |
|
update_id |
yes | Bodhi update ID to download, e.g. FEDORA-2014-7485. |
str |
A dictionary containing following items:
Download a Bodhi update provided on the command line and then check it with rpmlint:
- name: download update from Bodhi
bodhi:
action: download
update_id: ${update_id}
arch: ${arch}
- name: run rpmlint on downloaded rpms
python:
file: run_rpmlint.py
callable: run
workdir: ${workdir}
export: rpmlint_output