{"id":21835086,"url":"https://github.com/roles-ansible/ansible_collection_git","last_synced_at":"2025-03-21T14:20:35.835Z","repository":{"id":153177527,"uuid":"621789240","full_name":"roles-ansible/ansible_collection_git","owner":"roles-ansible","description":"Ansible Collection l3d.git for installing git server","archived":false,"fork":false,"pushed_at":"2025-01-18T23:16:16.000Z","size":122,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-26T09:44:19.551Z","etag":null,"topics":["ansible","collection","hacktoberfest"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/l3d/git","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roles-ansible.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["do1jlr"],"liberapay":"l3d"}},"created_at":"2023-03-31T11:46:44.000Z","updated_at":"2025-01-18T23:11:23.000Z","dependencies_parsed_at":"2023-10-10T22:16:31.144Z","dependency_job_id":"5d716caa-9a33-4873-bb80-afea6dbe4c02","html_url":"https://github.com/roles-ansible/ansible_collection_git","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roles-ansible%2Fansible_collection_git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roles-ansible%2Fansible_collection_git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roles-ansible%2Fansible_collection_git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roles-ansible%2Fansible_collection_git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roles-ansible","download_url":"https://codeload.github.com/roles-ansible/ansible_collection_git/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244811376,"owners_count":20514276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","collection","hacktoberfest"],"created_at":"2024-11-27T20:17:26.029Z","updated_at":"2025-03-21T14:20:35.804Z","avatar_url":"https://github.com/roles-ansible.png","language":null,"funding_links":["https://github.com/sponsors/do1jlr","https://liberapay.com/l3d"],"categories":[],"sub_categories":[],"readme":"[![collection l3d.git](https://ansible.l3d.space/svg/l3d.git_ansible-collection_collection.svg)](https://galaxy.ansible.com/ui/repo/published/l3d/git/)\n[![Maintainance](https://ansible.l3d.space/svg/l3d.git_maintainance_collection.svg)](https://ansible.l3d.space/#l3d.git)\n[![License](https://ansible.l3d.space/svg/l3d.git_license_collection.svg)](LICENSE)\n\n Ansible Collection - l3d.git\n============================\n\nThis is the Ansible Collection ``l3d.git``.\nHere are all our ansible roles for installing git server.\n\n## Ansible Roles in l3d.git\n- [![l3d.git.gitea](https://ansible.l3d.space/svg/l3d.git.gitea_ansible-role.svg)](https://github.com/roles-ansible/ansible_role_gitea.git) - Ansible role to install gitea or forgejo git server\n- [![l3d.git.forgejo_runner](https://ansible.l3d.space/svg/l3d.git.forgejo_runner_ansible-role.svg)](https://github.com/roles-ansible/ansible_role_forgeo_runner.git) - Ansible role to install forgejo runner\n\n## Using this Collection\nYou can install the collection using ansible-galaxy by running:\n```bash\nansible-galaxy collection install l3d.git:1.1.10\n```\n\nRemember you can to Upgrade to the latest version of the l3d.git collection using the ``--upgrade`` parameter:\n```bash\nansible-galaxy collection install l3d.git --upgrade\n```\n\n\nOr you could clone this collection in your local ansible project for example to ``collections/ansible_collections/l3d/git/``. Make sure you checkout [git submodules](https://git-scm.com/docs/git-submodule) too. Example:\n```\n# Clone git Repo with submodules to specified path\ngit clone --recursive https://github.com/roles-ansible/ansible_collection_git.git collections/ansible_collections/l3d/git/\n\n# change directory\ncd collections/ansible_collections/l3d/git/\n\n# optionally init git submodules\ngit submodule update --init --recursive\n```\n\nYou can also list a collection in ``requirements.yml``:\n```yaml\n---\ncollections:\n  - name: l3d.git\n    version: \"\u003e=1.1.10\"\n```\n\n## Include roles in your playbook\nExample Playbook using the l3d.git.gitea role:\n```yaml\n---\n- name: \"Install forgejo git server from collection l3d.git\"\n  hosts: git.example.com\n  roles:\n    - {role: l3d.git.gitea, tags: forgejo}\n  vars:\n    # Here we assume we are behind a reverse proxy that will\n    # handle https for us, so we bind on localhost:3000 using HTTP\n    # see https://docs.gitea.io/en-us/reverse-proxies/#nginx\n    gitea_fqdn: 'git.example.com'\n    gitea_root_url: 'https://git.example.com'\n    gitea_protocol: http\n    gitea_start_ssh: true\n    gitea_fork: 'forgejo'\n```\n\n## Requirements\nThe roles in this collection using the ``ansible.builtin`` and ``community.general`` ansible Collections. To download the latest forgejo/gitea release we use json_query. This requires ``jmespath`` to be available.\n\n### Example Python Requirements Installation:\n```bash\n# pip requirements\npip install -r requirements.txt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froles-ansible%2Fansible_collection_git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froles-ansible%2Fansible_collection_git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froles-ansible%2Fansible_collection_git/lists"}