Skip to content

Install local apt repository to point to aptmirror server

Notifications You must be signed in to change notification settings

andreazorzetto/ansible-apt-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible APT Repo role

Configure an ubuntu server as a client to point to aptmirror internal repository, previously set up with ansible aptmirror role.

Tasks:

  • Install extra repo keys
  • Update cache

Role Variables

apt_mirror with the aptmirror server ip address

A list of repositories exported on the apt mirror server needs to be created like the example one available in the vars of this role.

Example of values:

repos:

  - title: ubuntu
    source: true
    distro:
      - trusty
      - trusty-security
      - trusty-updates
    components:
      - main
      - restricted
      - universe
      - multiverse

  - title: ondrej
    source: true
    distro:
      - trusty
    components:
      - main

  - title: grafana
    source: false
    distro:
      - wheezy
    components:
      - main

About

Install local apt repository to point to aptmirror server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published