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
|
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 }
|
||||||
|
|
|
@ -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 }}'
|
||||||
|
|
Loading…
Reference in a new issue