feat: add git package
This commit is contained in:
parent
5e528c05c0
commit
b034b61b2d
2 changed files with 9 additions and 0 deletions
|
@ -2,6 +2,10 @@ require 'serverspec'
|
|||
|
||||
set :backend, :exec
|
||||
|
||||
describe package('git') do
|
||||
it { should be_installed }
|
||||
end
|
||||
|
||||
describe user('git') do
|
||||
it { should exist }
|
||||
it { should have_uid 997 }
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
- name: install git package
|
||||
apt:
|
||||
name: git
|
||||
tags: gitolite
|
||||
|
||||
- name: create user git
|
||||
user:
|
||||
name: '{{ gitolite_user_name }}'
|
||||
|
|
Loading…
Reference in a new issue