diff --git a/roles/git/hooks/tasks/main.yml b/roles/git/hooks/tasks/main.yml index 404ba04ec7..a20f07b938 100644 --- a/roles/git/hooks/tasks/main.yml +++ b/roles/git/hooks/tasks/main.yml @@ -10,6 +10,22 @@ - python-kitchen - python-pygit2 - fedora-messaging + when: env != "staging" + tags: + - git + - git/hooks + - packages + +- name: install needed packages + package: + state: present + name: + - git + - moreutils + - python3-kitchen + - python3-pygit2 + - fedora-messaging + when: env == "staging" tags: - git - git/hooks