diff options
Diffstat (limited to '')
-rw-r--r-- | distro/tests/ansible-roles/obs_repos/tasks/main.yaml | 11 |
1 files changed, 11 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..4f17e87 --- /dev/null +++ b/distro/tests/ansible-roles/obs_repos/tasks/main.yaml @@ -0,0 +1,11 @@ +--- +- 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 reporitories + include: "{{ obs_distro }}.yaml" |