cookiecutter-ansible-role/hooks/post_gen_project.sh

7 lines
166 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
2020-05-17 20:26:44 +02:00
git remote add origin gitea@{{ cookiecutter.git_server }}/xoxys.{{ cookiecutter.role_name }}.git
2020-05-15 10:54:56 +02:00
fi