Create venvs directory when repo server container is created

All the base directorys for the repo packages are placed
In the /var/www/repo directory
Most of the directorys that are placed here are created during
the task repo_post_install.yml however the venvs directory isnt
created till the repo build stage.

this can create a problem for the synchronisation of the
repository

The proposed change creates the directory during the repo server
creation instead of the repo_build process

Change-Id: If1dd5e568e06715f4321c391727d428e2e0805ea
This commit is contained in:
Chris Beukers 2017-08-30 10:39:24 +02:00
parent 37543f1d7e
commit 0420277703

View File

@ -84,6 +84,8 @@
state: "directory" state: "directory"
- path: "{{ repo_service_home_folder }}/repo/pools" - path: "{{ repo_service_home_folder }}/repo/pools"
state: "directory" state: "directory"
- path: "{{ repo_service_home_folder }}/repo/venvs"
state: "directory"
- path: "/var/log/nginx" - path: "/var/log/nginx"
state: "directory" state: "directory"
mode: "0775" mode: "0775"