From 56f72ac3d33de2c07bb504ed530294ed7274bd3b Mon Sep 17 00:00:00 2001 From: Adrien Cunin Date: Thu, 9 Feb 2017 13:16:40 +0100 Subject: [PATCH] Fixed typo causing bug in openstack-hosts-setup The '$' at the end of the dpkg-query command causes it to return 2, which means python won't be installed even though it should be. Change-Id: I3937448a419a1f2d6405952e1cd7a4002b8d09af --- playbooks/openstack-hosts-setup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/openstack-hosts-setup.yml b/playbooks/openstack-hosts-setup.yml index 23201daafb..b6a3467ab9 100644 --- a/playbooks/openstack-hosts-setup.yml +++ b/playbooks/openstack-hosts-setup.yml @@ -36,7 +36,7 @@ exit $result; ;; ubuntu) - dpkg-query -s python $> /dev/null + dpkg-query -s python &> /dev/null result=$? if [ $result -eq 1 ]; then