feat: add git package

This commit is contained in:
Adrien Waksberg 2017-10-07 18:44:20 +02:00
parent 5e528c05c0
commit b034b61b2d
2 changed files with 9 additions and 0 deletions

View file

@ -2,6 +2,10 @@ require 'serverspec'
set :backend, :exec set :backend, :exec
describe package('git') do
it { should be_installed }
end
describe user('git') do describe user('git') do
it { should exist } it { should exist }
it { should have_uid 997 } it { should have_uid 997 }

View file

@ -1,3 +1,8 @@
- name: install git package
apt:
name: git
tags: gitolite
- name: create user git - name: create user git
user: user:
name: '{{ gitolite_user_name }}' name: '{{ gitolite_user_name }}'