From 05ef96a3aa9d6823ab431d458c88780fe8e2ef81 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 7 Apr 2016 20:15:53 +0000 Subject: [PATCH] Create directories. --- roles/distgit/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml index 390db7d813..064b4ca264 100644 --- a/roles/distgit/tasks/main.yml +++ b/roles/distgit/tasks/main.yml @@ -61,6 +61,17 @@ - name: create the distgit root directory (/srv/git/repositories) file: dest=/srv/git/repositories state=directory mode=2775 group=packager +# These should all map to pkgdb namespaces +- name: create our namespace directories inside there.. + file: dest=/srv/git/repositories/{{item}} state=directory mode=2775 group=packager + with_items: + - rpms + - docker + - modules + # Except for this one. This namespace is artificially created in the + # dist-git pkgdb sync scripts. + - rpms-checks + - name: install the distgit scripts copy: src={{item}} dest=/usr/local/bin/{{item}} owner=root group=root mode=0755 with_items: