git/hooks: update package command to not use items

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2019-06-11 16:36:34 +01:00 committed by Pierre-Yves Chibon
parent eb8f7f5651
commit d98a7392a5

View file

@ -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