Skip to content

Commit

Permalink
add support for irods el9 repo
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmeele committed Jan 15, 2025
1 parent 4647155 commit d5c3e48
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion playbooks/roles/irods_repo/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@
ansible.builtin.yum_repository:
name: iRODS
description: RENCI iRODS Repository
baseurl: "{{ irods_repo_url }}/yum/pool/centos{{ irods_repo_yum_major_version }}/{{ ansible_architecture }}"
baseurl: "{{ irods_repo_url }}/yum/pool/centos{{ irods_distribution_major_version }}/{{ ansible_architecture }}"
gpgkey: "{{ irods_repo_url }}/irods-signing-key.asc"
gpgcheck: true
when: ansible_pkg_mgr == 'yum'

- name: Enable iRODS repository, dnf package manager
ansible.builtin.yum_repository:
name: iRODS
description: RENCI iRODS Repository
baseurl: "{{ irods_repo_url }}/yum/pool/el{{ ansible_distribution_major_version }}/{{ ansible_architecture }}"
gpgkey: "{{ irods_repo_url }}/irods-signing-key.asc"
gpgcheck: true
when: ansible_pkg_mgr == "dnf"

- name: Download irods key
ansible.builtin.get_url:
url: "{{ irods_repo_url }}/irods-signing-key.asc"
Expand Down

0 comments on commit d5c3e48

Please sign in to comment.