Fix check plugins: zuul.projects is now a dict

zuul.projects was recently moved to a dictionary, so looping over
it needs some fixes in order to have openstackclient-check-plugins
working again.

Change-Id: I0b69a05374ad48831304e91c7f0801d351aa1a22
This commit is contained in:
Luigi Toscano 2017-12-21 12:28:29 +01:00
parent f811fbab29
commit ef2f57b627
1 changed files with 3 additions and 2 deletions

View File

@ -10,8 +10,9 @@
- shell:
cmd: |
echo "------------------------------------------------------------"
osc_plugins/bin/pip install -e src/git.openstack.org/{{ item }}
with_items: "{{ zuul.projects | selectattr('required') | map(attribute='name') | list }}"
osc_plugins/bin/pip install -e src/{{ item.key }}
when: item.value.required
with_dict: "{{ zuul.projects }}"
- shell:
cmd: |