DONT use with_items with yum module 38/82638/1
authorAnil Belur <abelur@linuxfoundation.org>
Fri, 21 Jun 2019 04:37:27 +0000 (14:37 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Fri, 21 Jun 2019 05:30:10 +0000 (15:30 +1000)
commit93f5864a062feef7d75b5c6b9101133d6126cb20
treed51e382b759e7341388844069b1b967cd8363388
parent1c2e75b80323d7f35418ea17a4bd476d5388cfd5
DONT use with_items with yum module

This fixes deprecation warning to invoke yum module without
with_items. Using with_items is slower and not recommended.

[DEPRECATION WARNING]: Invoking "yum" only once while using a loop
via squash_actions is deprecated. Instead of using a loop to supply
multiple items and specifying `name: {{item}}`, please use
`name: [u'{{sed_output.stdout_lines }}']` and remove the loop.
This feature will be removed in version 2.11.

Change-Id: Ie2c95d54d4ddf59cfc65d4b74cc4008ff4929218
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
packer/provision/devstack-pre-pip.yaml