Ian Wienand 3eceba5749 reprepro: convert to Ansible
This converts the reprepro configuration from our existing puppet to
Ansible.

This takes a more direct approach; the templating done by the puppet
version started simple but over the years grew several different
options to handle various use-cases.  This means you not only had to
understand the rather obscure reprepro configuration, but then *also*
figure out how to translate that from our puppet template layers.

Here the configuration files are kept directly (they were copied from
the existing mirror-update.openstack.org) and deployed with some light
wrapper tasks in reprepro/tasks/utils which avoids most duplication.

Note the initial cron jobs are left disabled so we can run some manual
testing before letting it go automatically.

Change-Id: I96a9ff1efbf51c4164621028b7a3a1e2e1077d5c
2020-10-19 14:06:57 +11:00

67 lines
1.5 KiB
Plaintext
Executable File

Origin: Debian
Codename: stretch
Description: OpenStack Debian Stretch mirror
Architectures: amd64 arm64 source
Components: main
UDebComponents: main
Contents: .gz
Update: debian
Log: /var/log/reprepro/debian-stretch.log
Origin: Debian
Codename: stretch-updates
Description: OpenStack Debian Stretch Updates mirror
Architectures: amd64 arm64 source
Components: main
UDebComponents: main
Contents: .gz
Update: debian
Log: /var/log/reprepro/debian-stretch-updates.log
Origin: Debian Backports
Codename: stretch-backports
NotAutomatic: yes
ButAutomaticUpgrades: yes
Description: OpenStack Debian Stretch Backports mirror
Architectures: amd64 arm64 source
Components: main
UDebComponents: main
Contents: .gz
Update: debian
Log: /var/log/reprepro/debian-stretch-backports.log
Origin: Debian
Codename: buster
Description: OpenStack Debian Buster mirror
Architectures: amd64 arm64 source
Components: main
UDebComponents: main
Contents: .gz
Update: debian
Log: /var/log/reprepro/debian-buster.log
Origin: Debian
Codename: buster-updates
Description: OpenStack Debian Buster Updates mirror
Architectures: amd64 arm64 source
Components: main
UDebComponents: main
Contents: .gz
Update: debian
Log: /var/log/reprepro/debian-buster-updates.log
Origin: Debian Backports
Codename: buster-backports
NotAutomatic: yes
ButAutomaticUpgrades: yes
Description: OpenStack Debian Buster Backports mirror
Architectures: amd64 arm64 source
Components: main
UDebComponents: main
Contents: .gz
Update: debian
Log: /var/log/reprepro/debian-buster-backports.log