From b3fa6b4f684e06c0963b135bbebca5976138ad2d Mon Sep 17 00:00:00 2001 From: Travis Truman Date: Wed, 15 Jun 2016 11:55:48 -0400 Subject: [PATCH] Address Ansible bare variable usage When executing the role with Ansible 2.1, the following deprecation warning is issued in the output for some tasks. [DEPRECATION WARNING]: Using bare variables is deprecated. This patch addresses the tasks to fix the behaviour appropriately Change-Id: I683ad1573bc9842dd96d40eea14d3c097f3e671c --- tasks/neutron_install.yml | 2 +- tasks/ovs_install-apt.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/neutron_install.yml b/tasks/neutron_install.yml index 046ba14e..ac7aa803 100644 --- a/tasks/neutron_install.yml +++ b/tasks/neutron_install.yml @@ -72,7 +72,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: neutron_requires_pip_packages + with_items: "{{ neutron_requires_pip_packages }}" tags: - neutron-install - neutron-pip-packages diff --git a/tasks/ovs_install-apt.yml b/tasks/ovs_install-apt.yml index e8f5ed04..ba0bb612 100644 --- a/tasks/ovs_install-apt.yml +++ b/tasks/ovs_install-apt.yml @@ -36,7 +36,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: ovs_apt_packages + with_items: "{{ ovs_apt_packages }}" tags: - ovs-install - ovs-apt-packages