cookiecutter-ansible-role/hooks/post_gen_project.sh

7 lines
170 B
Bash
Raw Normal View History

2020-05-15 10:54:56 +02:00
#!/usr/bin/env sh
if hash git 2>/dev/null; then
git init
git remote add origin ssh://git@{{ cookiecutter.git_server }}/xoxys.{{ cookiecutter.role_name }}.git
fi