aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git')
-rw-r--r--roles/git/tasks/cgit.yml11
-rw-r--r--roles/git/tasks/git-daemon.yml4
-rw-r--r--roles/git/tasks/gitolite.yml2
3 files changed, 8 insertions, 9 deletions
diff --git a/roles/git/tasks/cgit.yml b/roles/git/tasks/cgit.yml
index 9d3f2db..40c5af7 100644
--- a/roles/git/tasks/cgit.yml
+++ b/roles/git/tasks/cgit.yml
@@ -1,10 +1,11 @@
- name: Install cgit package and deps (fcgi stuff)
- apt: pkg={{ item }} state=installed
- with_items:
- - cgit
- - fcgiwrap
- - spawn-fcgi
+ apt:
+ state: present
+ name:
+ - cgit
+ - fcgiwrap
+ - spawn-fcgi
tags:
- dependencies
diff --git a/roles/git/tasks/git-daemon.yml b/roles/git/tasks/git-daemon.yml
index 793275c..b604401 100644
--- a/roles/git/tasks/git-daemon.yml
+++ b/roles/git/tasks/git-daemon.yml
@@ -1,8 +1,6 @@
- name: Install git-daemon-sysvinit package
- apt: pkg={{ item }} state=installed
- with_items:
- - git-daemon-sysvinit
+ apt: name=git-daemon-sysvinit state=present
tags:
- dependencies
diff --git a/roles/git/tasks/gitolite.yml b/roles/git/tasks/gitolite.yml
index 09a6ac8..f926560 100644
--- a/roles/git/tasks/gitolite.yml
+++ b/roles/git/tasks/gitolite.yml
@@ -8,7 +8,7 @@
user: name=www-data groups=git append=yes
- name: Install gitolite3 package
- apt: pkg=gitolite3 state=installed
+ apt: name=gitolite3 state=present
tags:
- dependencies