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
This commit is contained in:
Manuel Buil 2018-01-29 10:28:33 +01:00
parent 17014cf69a
commit 9fed11c01e

View File

@ -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