git/hooks: update package command to not use items
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
eb8f7f5651
commit
d98a7392a5
1 changed files with 11 additions and 8 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue