roles:
- role: opendaylight
# Install latest service release of ODL Beryllium RPM from the CBS repos
- rpm_repo_file: "opendaylight-4-release.repo"
rpm_repo_url: "https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=rpm/example_repo_configs/opendaylight-4-release.repo"
roles:
- role: opendaylight
# Install the latest ODL Beryllium RPM from the CBS repos
- rpm_repo_file: "opendaylight-4-testing.repo"
rpm_repo_url: "https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=rpm/example_repo_configs/opendaylight-4-testing.repo"
roles:
- role: opendaylight
# Install latest service release of ODL Boron RPM from the CBS repos
- rpm_repo_file: "opendaylight-5-release.repo"
rpm_repo_url: "https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=rpm/example_repo_configs/opendaylight-5-release.repo"
roles:
- role: opendaylight
# Install the latest ODL Boron RPM from the CBS repos
- rpm_repo_file: "opendaylight-5-testing.repo"
rpm_repo_url: "https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=rpm/example_repo_configs/opendaylight-5-testing.repo"
roles:
- role: opendaylight
# Install latest service release of ODL Carbon RPM from the CBS repos
- rpm_repo_file: "opendaylight-6-release.repo"
rpm_repo_url: "https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=rpm/example_repo_configs/opendaylight-6-release.repo"
roles:
- role: opendaylight
# Install the latest ODL Carbon RPM from the CBS repos
- rpm_repo_file: "opendaylight-6-testing.repo"
rpm_repo_url: "https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=rpm/example_repo_configs/opendaylight-6-testing.repo"
- name: Download ODL yum repo
get_url:
url={{ rpm_repo_url }}
- dest=/etc/yum.repos.d/{{ rpm_repo_file }}
+ dest=/etc/yum.repos.d/opendaylight.repo
- name: Set ODL yum repo file properties
file:
- path=/etc/yum.repos.d/{{ rpm_repo_file }}
+ path=/etc/yum.repos.d/opendaylight.repo
owner=root
group=root
mode=0644
# URL of the .repo config to use when installing ODL from a repo
# NB: This will only take effect when `install_method` is "rpm_repo"
-rpm_repo_file: "opendaylight-6-release.repo"
rpm_repo_url: "https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging.git;a=blob_plain;f=rpm/example_repo_configs/opendaylight-6-release.repo;hb=refs/heads/master"
# URL of the deb repository to use when installing ODL from a repo