Creating a Simple Ansible Software Repository with GitLab Pages and Git LFS
This example project demonstrates how to utilize Git LFS (Large File Storage) alongside GitLab Pages to create a simple Ansible software repository. Specifically designed for air-gapped environments, this configuration facilitates hosting and distributing software binaries and Ansible Galaxy collections.
Categories:
Projects: c2platform/phx/examples/git-lfs-and-gitlab-pages
The goal of this project is to provide a proof of concept for effectively managing and sharing large files and software resources:
- Git LFS: Efficiently handles large binary files, such as software installers (e.g., Apache Tomcat), preventing repository bloat.
- GitLab Pages: Publishes these files and Ansible collections to a publicly accessible site, allowing for easy downloads via straightforward URLs.
- Minimalistic Ansible Galaxy Server: Offers a basic repository for Ansible collections through direct tarball URLs, suitable for restricted environments.
This project is ideal for anyone looking to distribute software or Ansible resources within a secure, isolated network while ensuring accessibility and simplicity when a private automation hub based on GalaxyNG or Nexus Repository Manager is not yet available.
Explore the Project
Git LFS and GitLab PagesFeedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified July 2, 2025: phx gitlab pages & git lfs PHX-31 (6d27af1)