Properly parse and quote arguments in upgrade script
Properly parse and quote arguments in upgrade script

This patch fixes the following:

1. Properly quote arguments to run_lock function
2. Properly parse out the playbook filename in run_lock

Specifically the upgrade steps where we were using

   "-e 'rabbitmq_upgrade=true' setup-infrastructure.yml"
   "/tmp/fix_container_interfaces.yml || true"

Were causing issues and this patch resolves them.

Closes-bug: 1479916
Change-Id: I809085d6da493f7f7d545547a0d984c0e7b1bf45
(cherry picked from commit 560fbbdb077c0f8d6f8bfa9b48e967ccef86664a)

pombredanne/os-ansible-deployment,open-switch/infra_openstack-ansible,jpmontez/os-ansible-deployment,AlphaStaxLLC/os-ansible-deployment,jpmontez/os-ansible-deployment,sti-jans/openstack-ansible,git-harry/os-ansible-deployment,openstack/openstack-ansible,achekunov/openstack-ansible,BjoernT/os-ansible-deployment,git-harry/os-ansible-deployment,major/openstack-ansible,bunchc/openstack-ansible,openstack/openstack-ansible,yanyao/openstack-deployment-liberty,antonym/openstack-ansible,BjoernT/openstack-ansible,sti-jans/openstack-ansible,antonym/openstack-ansible,Logan2211/openstack-ansible,jpmontez/openstack-ansible,shane-c/openstack-ansible,jpmontez/openstack-ansible,mrda/openstack-ansible,git-harry/os-ansible-deployment,major/os-ansible-deployment,AlphaStaxLLC/os-ansible-deployment,robb-romans/openstack-ansible,Logan2211/openstack-ansible,yanyao/openstack-ansible,major/os-ansible-deployment,jpmontez/os-ansible-deployment,cfarquhar/openstack-ansible,yanyao/newton,os-cloud/os-ansible-deployment,pombredanne/os-ansible-deployment,BjoernT/os-ansible-deployment,cfarquhar/openstack-ansible,mrda/openstack-ansible,BjoernT/os-ansible-deployment,mrda/openstack-ansible,pombredanne/os-ansible-deployment,shane-c/openstack-ansible,open-switch/infra_openstack-ansible,shane-c/openstack-ansible,yanyao/openstack-deployment-liberty,yanyao/openstack-ansible,weezer/openstack-ansible,AlphaStaxLLC/os-ansible-deployment,bunchc/openstack-ansible,robb-romans/openstack-ansible,cloudnull/os-ansible-deployment,cloudnull/os-ansible-deployment,yanyao/newton,antonym/openstack-ansible,yanyao/openstack-deployment-liberty,stackforge/os-ansible-deployment,achekunov/openstack-ansible,manuelfelipe/openstack-ansible,sti-jans/openstack-ansible,mancdaz/openstack-ansible,major/openstack-ansible,stackforge/os-ansible-deployment,open-switch/infra_openstack-ansible,manuelfelipe/openstack-ansible,weezer/openstack-ansible,os-cloud/os-ansible-deployment,jpmontez/openstack-ansible,mancdaz/openstack-ansible,manuelfelipe/openstack-ansible,BjoernT/openstack-ansible,achekunov/openstack-ansible