From 9fed11c01ed9598798788b3c64b024995edd4876 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Mon, 29 Jan 2018 10:28:33 +0100 Subject: [PATCH] Modify the etc directory in default/main Following the example of other roles, we will use /etc/tacker as the conf. directory instead of using the etc/ directory in the venv. Otherwise, the permission handling gets a bit messy because the venv gets deleted and recreated, so the creation of tacker directories should happen after that, which will change the role structure a bit Change-Id: Ie052dd7680218e31ed5a6e405db4167ee37471a8 --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 9c57511..e237b6f 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -44,7 +44,7 @@ tacker_bin: "/openstack/venvs/tacker-{{ tacker_venv_tag }}/bin" # This is used for role access to the db migrations. # Example: # tacker_etc_dir: "/usr/local/etc/tacker" -tacker_etc_dir: "{{ tacker_bin | dirname }}/etc/tacker" +tacker_etc_dir: "/etc/tacker" tacker_venv_download_url: http://127.0.0.1/venvs/untagged/ubuntu/tacker.tgz