aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-09-19 10:09:19 +0800
committerAaron LI <aly@aaronly.me>2019-09-19 10:09:19 +0800
commit428df584a5de76dde72e4cd44d51b565a986378e (patch)
tree50787b0ae51395b7abea7caec54050e6e652d49f /roles/git
parenta217f32c28999f6798442bc2b721900859dca766 (diff)
downloadansible-dfly-vps-428df584a5de76dde72e4cd44d51b565a986378e.tar.bz2
Update pkgng usage and fix package names
Fix package names: * vim-lite => vim-console * uwsgi-py36 => uwsgi
Diffstat (limited to 'roles/git')
-rw-r--r--roles/git/tasks/main.yml13
1 files changed, 6 insertions, 7 deletions
diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml
index 4589ac6..13c35f2 100644
--- a/roles/git/tasks/main.yml
+++ b/roles/git/tasks/main.yml
@@ -1,14 +1,13 @@
---
- name: install packages
pkgng:
- name: "{{ item }}"
+ name:
+ - git
+ - cgit
+ - uwsgi
+ - highlight
+ - gitolite
state: present
- with_items:
- - git
- - cgit
- - uwsgi-py36
- - highlight
- - gitolite
- name: check user group existence
command: pw groupshow {{ git.user.name }}