canonical bootstrap script to be used as a submodule with a repo provided by the current repository
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-12 01:48:05 +00:00
.forgejo/workflows remove sudo in 2nd place 2026-08-12 01:31:38 +00:00
.gitignore Initial commit 2026-08-11 20:44:07 +00:00
local.yml add local.yml for testing 2026-08-11 21:31:23 +00:00
pull add option for user 2026-08-12 01:48:05 +00:00
README.md add option for user 2026-08-12 01:48:05 +00:00

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.