9 lines
287 B
Bash
9 lines
287 B
Bash
#!/usr/bin/env sh
|
|
|
|
if hash git 2>/dev/null; then
|
|
git init -b {{ cookiecutter.git_default_branch }}
|
|
git remote add origin gitea@{{ cookiecutter.git_server }}/xoxys.{{ cookiecutter.role_name }}.git
|
|
fi
|
|
|
|
ln -s {{ cookiecutter.molecule_scenario | replace("-", "") }} molecule/default
|