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,8 +2,9 @@
# tasklist for setting up git mail hooks # tasklist for setting up git mail hooks
- name: install needed packages - name: install needed packages
package: name={{item}} state=present package:
with_items: state: present
name:
- git - git
- moreutils - moreutils
- python-kitchen - python-kitchen
@ -13,8 +14,10 @@
- packages - packages
- name: install needed packages from epel testing - name: install needed packages from epel testing
package: name={{item}} state=present enablerepo=epel-testing yum:
with_items: state: present
enablerepo: epel-testing
name:
- python-pygit2 - python-pygit2
tags: tags:
- git - git