laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/35056?usp=email )
Change subject: obs-worker: support more recent opensuse versions ......................................................................
obs-worker: support more recent opensuse versions
We don't want to install new builders with 15.3, and the playbook should just detect the installed version rather than making assumptions
Change-Id: I96f9896c0eeab120633d5800198d8b93371f7a5a --- M ansible/roles/osmocom-obs-worker/tasks/obs.yml 1 file changed, 13 insertions(+), 1 deletion(-)
Approvals: osmith: Looks good to me, approved Jenkins Builder: Verified
diff --git a/ansible/roles/osmocom-obs-worker/tasks/obs.yml b/ansible/roles/osmocom-obs-worker/tasks/obs.yml index 08367ac..a0a6227 100644 --- a/ansible/roles/osmocom-obs-worker/tasks/obs.yml +++ b/ansible/roles/osmocom-obs-worker/tasks/obs.yml @@ -1,6 +1,6 @@ - name: add OBS rpm repository zypper_repository: - repo: https://download.opensuse.org/repositories/OBS:/Server:/2.10/15.3/OBS:Server... + repo: https://download.opensuse.org/repositories/OBS:/Server:/2.10/%7B%7B ansible_distribution_version }}/OBS:Server:2.10.repo autorefresh: yes auto_import_keys: yes