From d98a7392a54d844f6cf735d775acea411eff3fa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Tue, 11 Jun 2019 16:36:34 +0100 Subject: [PATCH] git/hooks: update package command to not use items MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- roles/git/hooks/tasks/main.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/roles/git/hooks/tasks/main.yml b/roles/git/hooks/tasks/main.yml index bfb2dd0fa1..0254e80bd0 100644 --- a/roles/git/hooks/tasks/main.yml +++ b/roles/git/hooks/tasks/main.yml @@ -2,20 +2,23 @@ # tasklist for setting up git mail hooks - name: install needed packages - package: name={{item}} state=present - with_items: - - git - - moreutils - - python-kitchen + package: + state: present + name: + - git + - moreutils + - python-kitchen tags: - git - git/hooks - packages - name: install needed packages from epel testing - package: name={{item}} state=present enablerepo=epel-testing - with_items: - - python-pygit2 + yum: + state: present + enablerepo: epel-testing + name: + - python-pygit2 tags: - git - git/hooks