project-config/playbooks/base/pre.yaml
Paul Belanger 16d3c10ce7
Base: Add trusted option to apt mirrors
Since our Debian+Ubuntu mirrors are unsigned, we need to set the
"trusted" option on them in order to allow newer apt versions to pull
updates from them.

Logs of testing can be found at https://review.openstack.org/549867/

Change-Id: Ib847b953d4f8255ac4967889e83325e015516cb8
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-03-06 10:46:32 -05:00

20 lines
495 B
YAML

- hosts: localhost
roles:
- role: emit-job-header
zuul_log_url: "http://logs.openstack.org"
- hosts: all
roles:
- add-build-sshkey
- start-zuul-console
- configure-unbound
- validate-host
- use-cached-repos
- mirror-workspace-git-repos
- mirror-info
- role: configure-mirrors
set_apt_mirrors_trusted: True
- role: fetch-zuul-cloner
destination: "/usr/zuul-env/bin/zuul-cloner"
repo_src_dir: "/home/zuul/src/git.openstack.org"