From a5b89b132a5b681ce0e81e46216443d0307c789f Mon Sep 17 00:00:00 2001 From: Pawel Wieczorek Date: Thu, 30 Jul 2020 12:20:02 +0200 Subject: Replace deprecated "with_items" with loops As of Ansible 2.5+, the recommended way to perform loops is to use the new "loop" keyword instead of "with_*" style loops [1]. This issue was reported by: Bartek Grzybowski [1] https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html Issue-ID: INT-1601 Change-Id: Icf9079fc5c22ac034631397ea46d2b03fb4298ab Signed-off-by: Pawel Wieczorek --- .../ansible/roles/openstack/destroy_devstack_network/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deployment/noheat/infra-openstack/ansible/roles/openstack/destroy_devstack_network/tasks') diff --git a/deployment/noheat/infra-openstack/ansible/roles/openstack/destroy_devstack_network/tasks/main.yml b/deployment/noheat/infra-openstack/ansible/roles/openstack/destroy_devstack_network/tasks/main.yml index 1bfab0d00..e52dcbdb8 100644 --- a/deployment/noheat/infra-openstack/ansible/roles/openstack/destroy_devstack_network/tasks/main.yml +++ b/deployment/noheat/infra-openstack/ansible/roles/openstack/destroy_devstack_network/tasks/main.yml @@ -1,4 +1,4 @@ --- - include: destroy_network.yml net={{ item }} - with_items: + loop: - "{{ network }}" -- cgit 1.2.3-korg