canonical bootstrap script to be used as a submodule with a repo provided by the current repository
- Shell 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .forgejo/workflows | ||
| .gitignore | ||
| local.yml | ||
| pull | ||
| README.md | ||
bootstrap
bootstrap script to be used to install python and ansible and run ansible-pull on the supplied repo.
Put the token and the repository in /etc/ansible/facts.d/forgejo.fact like this:
{
"repo_url": "https://dev.k3p.io/rhildred/bootstrap.git",
"token":"47fd11400170c8b3a76b42fe2b8ffbf674adb056"
}
You can also specify a user if need be:
{
"git_user":"defaults to token for forgejo"
}
Then run curl -sL https://files.dev.k3p.io/pull | bash.