diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2026-06-15 17:49:31 +0200 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2026-07-09 08:49:17 +0200 |
| commit | 77d310a9ff344a09f35b2c0536b0f7b9e8677deb (patch) | |
| tree | 59130fd2f762eb3d62f7e33cfa32d9edcf10265f /roles | |
| parent | 44b4d81399792f539716618953f2cafa64086a5c (diff) | |
| download | kolla-77d310a9ff344a09f35b2c0536b0f7b9e8677deb.tar.gz kolla-77d310a9ff344a09f35b2c0536b0f7b9e8677deb.zip | |
Add support to override base repos
BaseOS and AppStream for CentOS/Rocky
ubuntu, ubuntu-security for Ubuntu
debian, debian-security for Debian
ubuntu-cloud-archive is not really a base repo - so
removing it from ubuntu.sources
Change-Id: Iab98de963f2e8532389b7563bb572d8aa20c7aa6
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Diffstat (limited to 'roles')
| -rw-r--r-- | roles/kolla-build/defaults/main.yml | 1 | ||||
| -rw-r--r-- | roles/kolla-build/tasks/main.yml | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/roles/kolla-build/defaults/main.yml b/roles/kolla-build/defaults/main.yml index fe7c33a33..98051c97b 100644 --- a/roles/kolla-build/defaults/main.yml +++ b/roles/kolla-build/defaults/main.yml @@ -1,4 +1,5 @@ --- kolla_build_logs_dir: "{{ zuul_output_dir }}/logs/kolla/build" +kolla_build_repos_yaml_path: "" kolla_build_template_overrides_path: "" kolla_build_venv_path: "/tmp/kolla-virtualenv" diff --git a/roles/kolla-build/tasks/main.yml b/roles/kolla-build/tasks/main.yml index e5529f381..927bb1309 100644 --- a/roles/kolla-build/tasks/main.yml +++ b/roles/kolla-build/tasks/main.yml @@ -1,4 +1,13 @@ --- +- name: Template repos.yaml + ansible.builtin.template: + src: "{{ kolla_build_repos_yaml_path }}" + dest: /etc/kolla/repos.yaml + mode: "0660" + owner: zuul + group: zuul + when: kolla_build_repos_yaml_path | length > 0 + - name: Template template_overrides.j2 ansible.builtin.template: src: "{{ kolla_build_template_overrides_path }}" |
