{"id":15080754,"url":"https://github.com/alilotfi23/aptlyserved","last_synced_at":"2026-01-03T01:55:33.334Z","repository":{"id":249248995,"uuid":"830894895","full_name":"alilotfi23/AptlyServed","owner":"alilotfi23","description":"Ansible-powered solution designed to streamline the deployment and management of a local APT repository served through Nginx","archived":false,"fork":false,"pushed_at":"2024-08-20T12:09:40.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-20T12:29:48.503Z","etag":null,"topics":["ansible","ansible-playbook","ansible-role","apt","debian","jinja2","nginx","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Jinja","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/alilotfi23.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2024-07-19T08:16:26.000Z","updated_at":"2024-08-20T12:09:43.000Z","dependencies_parsed_at":"2024-08-20T14:04:31.497Z","dependency_job_id":"9237de7d-a391-49ac-869b-61b697757734","html_url":"https://github.com/alilotfi23/AptlyServed","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"0e8fa7545e01305d1a8dc720b0fb36624b9dd540"},"previous_names":["alilotfi23/aptlyserved"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alilotfi23%2FAptlyServed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alilotfi23%2FAptlyServed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alilotfi23%2FAptlyServed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alilotfi23%2FAptlyServed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alilotfi23","download_url":"https://codeload.github.com/alilotfi23/AptlyServed/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910820,"owners_count":20367545,"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","ansible-playbook","ansible-role","apt","debian","jinja2","nginx","ubuntu"],"created_at":"2024-09-25T05:30:30.235Z","updated_at":"2026-01-03T01:55:33.296Z","avatar_url":"https://github.com/alilotfi23.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AptlyServed\n\nAptlyServed is an Ansible-powered solution designed to streamline the deployment and management of a local APT repository served through Nginx. This project encapsulates best practices and modular design, making deploying and managing Debian package repositories on your network easy.\n\n## Features\n\n- **Automatic Installation:** Sets up and configures Nginx to serve your APT repository.\n- **Easy Package Management:** Easily add or update Debian packages within your repository.\n- **Modular Design:** Utilizes Ansible roles to separate concerns.\n- **Scalable:** Suitable for everything from small labs to large enterprise environments.\n\n## Requirements\n\n- An Ubuntu Server (20.04 or newer)\n- Ansible 2.9 or higher\n- SSH access to the target server\n- Sudo privileges on the server\n\n## Getting Started\n\n### Installation\n\n1. **Clone the Repository:**\n   ```bash\n   git clone https://github.com/alilotfi23/AptlyServed.git\n   cd AptlyServed\n   ```\n\n2. **Set Up Inventory:**\n   Edit the `inventory` file to include the IP addresses of the servers where you want to deploy the repository.\n\n3. **Configure Variables:**\n   Open the `vars/main.yml` to set up necessary configurations like repository directory, server name, etc.\n\n4. **Run the Playbook:**\n   ```bash\n   ansible-playbook -i inventory setup_repo.yml\n   ```\n\n### Directory Structure\n\n```\n.\nAptlyServed/\n├── ansible.cfg                # Ansible configuration file\n├── inventory                  # Inventory file defining hosts and groups\n├── setup_repo.yml             # Main Ansible playbook\n├── roles/\n│   ├── base_setup/\n│   │   └── tasks/\n│   │       └── main.yml       # Tasks for basic server setup\n│   ├── nginx/\n│   │   ├── tasks/\n│   │   │   └── main.yml       # Tasks for installing and configuring Nginx\n│   │   ├── handlers/\n│   │   │   └── main.yml       # Handlers for reloading Nginx\n│   │   └── templates/\n│   │       └── repo.conf.j2   # Jinja2 template for Nginx configuration\n│   └── repository/\n│       ├── tasks/\n│       │   └── main.yml       # Tasks for setting up the repository\n│       └── handlers/\n│           └── main.yml       # Handlers for repository actions\n└── vars/\n    └── main.yml               # Variables used across the roles\n\n```\n\n### Usage\n\nAfter deployment, your APT repository will be accessible via the configured domain or IP address. You can add `.deb` files to your repository and run the playbook to update the metadata automatically.\n\n## Contributing\n\nContributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falilotfi23%2Faptlyserved","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falilotfi23%2Faptlyserved","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falilotfi23%2Faptlyserved/lists"}