tripleo_container_rm: use loop instead of with_items
with_items is deprecated, so we now use loop with loop_var. Change-Id: Ica56e2fcb9962f5e77a09abb50e3f7b64d18c6fb
This commit is contained in:
parent
0573a0bb74
commit
995c2555e0
|
@ -15,6 +15,6 @@
|
|||
# under the License.
|
||||
|
||||
- include_tasks: "tripleo_{{ tripleo_container_cli }}_container_rm.yml"
|
||||
vars:
|
||||
container: "{{ item }}"
|
||||
with_items: "{{ tripleo_containers_to_rm }}"
|
||||
loop: "{{ tripleo_containers_to_rm }}"
|
||||
loop_control:
|
||||
loop_var: container
|
||||
|
|
Loading…
Reference in New Issue