diff options
Diffstat (limited to 'distro/tests/ansible-roles/obs_repos/tasks/main.yaml')
-rw-r--r-- | distro/tests/ansible-roles/obs_repos/tasks/main.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/distro/tests/ansible-roles/obs_repos/tasks/main.yaml b/distro/tests/ansible-roles/obs_repos/tasks/main.yaml new file mode 100644 index 0000000..6bae001 --- /dev/null +++ b/distro/tests/ansible-roles/obs_repos/tasks/main.yaml @@ -0,0 +1,12 @@ +--- +# SPDX-License-Identifier: GPL-3.0-or-later +- name: Include Debian specific vars + include_vars: "{{ obs_distro }}_{{ ansible_distribution_major_version }}.yaml" + when: obs_distro == "Debian" + +- name: Include distribution specific vars + include_vars: "{{ obs_distro }}.yaml" + when: obs_distro != "Debian" + +- name: Configure upstream repositories + include: "{{ obs_distro }}.yaml" |