From 0420277703ca63169b0ce5c903db61c1792eea69 Mon Sep 17 00:00:00 2001 From: Chris Beukers Date: Wed, 30 Aug 2017 10:39:24 +0200 Subject: [PATCH] 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 --- tasks/repo_post_install.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/repo_post_install.yml b/tasks/repo_post_install.yml index c8bd590..ec3b4e8 100644 --- a/tasks/repo_post_install.yml +++ b/tasks/repo_post_install.yml @@ -84,6 +84,8 @@ state: "directory" - path: "{{ repo_service_home_folder }}/repo/pools" state: "directory" + - path: "{{ repo_service_home_folder }}/repo/venvs" + state: "directory" - path: "/var/log/nginx" state: "directory" mode: "0775"