No description
Find a file
Mark van Huijstee 470c553d3c
Merge pull request #10 from de-it-krachten/dev
Update supported platforms & CI (2026-07-23)
2026-07-26 21:50:21 +02:00
.github/workflows Update CI 2026-07-22 22:56:25 +02:00
defaults Initial working code 2025-10-28 00:24:08 +01:00
meta Initial working code 2025-10-28 00:24:08 +01:00
molecule/default Update CI 2026-07-25 16:13:36 +02:00
tasks Initial working code 2025-10-28 00:24:08 +01:00
templates Initial working code 2025-10-28 00:24:08 +01:00
.ansible-lint Update CI 2026-06-07 16:39:07 +02:00
.cicd Update CI 2026-06-09 10:40:16 +02:00
.cicd.overwrite Update CI 2026-06-07 16:39:07 +02:00
.collections Initial working code 2025-10-28 00:24:08 +01:00
.gitignore Initial working code 2025-10-28 00:24:08 +01:00
.releaserc.yml Initial working code 2025-10-28 00:24:08 +01:00
.roles Initial working code 2025-10-28 00:24:08 +01:00
.yamllint Initial working code 2025-10-28 00:24:08 +01:00
CHANGELOG.md chore(release): 1.1.0 [skip ci] 2026-07-23 18:06:40 +00:00
README.md Update CI 2026-06-07 16:39:07 +02:00

CI

ansible-role-apt_mirror

APT mirror setup for Ubuntu

Dependencies

Roles

None

Collections

None

Platforms

Supported platforms

  • Ubuntu 20.04 LTS
  • Ubuntu 22.04 LTS
  • Ubuntu 24.04 LTS
  • Ubuntu 26.04 LTS

Note: 1 : no automated testing is performed on these platforms

Role Variables

defaults/main.yml


# Location where you want to store the mirrored files
apt_mirror_path: /data/install/ubuntu

# APT packages to install
apt_mirror_packages:
  - apt-mirror

# Ubuntu releases to mirror
apt_mirror_releases:
  # - focal
  - jammy
  # - noble

# Schedule mirror job
apt_mirror_schedule: false

Example Playbook

molecule/default/converge.yml


- name: sample playbook for role 'apt_mirror'
  hosts: all
  become: 'yes'
  tasks:
    - name: Include role 'apt_mirror'
      ansible.builtin.include_role:
        name: apt_mirror