From 183a2ab707294a50129a7151e2714abdfff1914f Mon Sep 17 00:00:00 2001 From: Mathieu Bridon Date: Tue, 16 Sep 2014 11:58:38 +0200 Subject: [PATCH] git/hooks: Express the role dependency properly This had been found by misc during his review of the patches, but the unfixed patch is what got merged. https://fedorahosted.org/fedora-infrastructure/ticket/4452 --- roles/git/hooks/meta/main.yml | 3 +++ roles/git/hooks/tasks/main.yml | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 roles/git/hooks/meta/main.yml diff --git a/roles/git/hooks/meta/main.yml b/roles/git/hooks/meta/main.yml new file mode 100644 index 0000000000..2356e8716a --- /dev/null +++ b/roles/git/hooks/meta/main.yml @@ -0,0 +1,3 @@ +--- +dependencies: +- { role: fedmsg/base } diff --git a/roles/git/hooks/tasks/main.yml b/roles/git/hooks/tasks/main.yml index 965ff35e99..af15eff6b1 100644 --- a/roles/git/hooks/tasks/main.yml +++ b/roles/git/hooks/tasks/main.yml @@ -8,7 +8,6 @@ - moreutils - python-kitchen -# This requires the fedmsg/base role - name: install the git hooks copy: src={{item}} dest=/usr/share/git-core mode=0755 with_items: