From 6026308278c42944eed0256bdea9fac696e9a1b4 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Tue, 17 Jan 2017 08:23:15 -0600 Subject: [PATCH] Ensure neutron_bin gets created The `neutron_get_venv` check is causing the creation of the `neutron_bin` directory to be skipped on all hosts. This causes the unarchive venv step to fail immediately afterwards. This patch corrects the check in the `when:` argument and ensures that the directory is created to hold the venv content. Closes-Bug: 1657138 Change-Id: Ia7a91c8b7c93affe8e378ce933299b050c63e854 --- tasks/neutron_install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/neutron_install.yml b/tasks/neutron_install.yml index 72091827..c5964368 100644 --- a/tasks/neutron_install.yml +++ b/tasks/neutron_install.yml @@ -170,7 +170,7 @@ path: "{{ neutron_bin | dirname }}" state: directory register: neutron_venv_dir - when: neutron_get_venv | bool + when: neutron_get_venv | changed - name: Unarchive pre-built venv unarchive: