Commit a7c07b9e authored by viscapi's avatar viscapi
Browse files

Added preliminary support for Debian / Ubuntu packages. Solves John's 5th issue on iRODS chat

parent b901be4c
---
- name: Add key for iRODS repository
rpm_key:
state: present
key: https://packages.irods.org/irods-signing-key.asc
validate_certs: yes
- name: Add key and iRODS repository on CentOS 7
block:
- name: Add key for iRODS repository on CentOS 7
rpm_key:
state: present
key: https://packages.irods.org/irods-signing-key.asc
validate_certs: yes
- name: Add iRODS repository
yum_repository:
description: RENCI iRODS Repository
name: irods
file: renci-irods.yum
baseurl: https://packages.irods.org/yum/pool/centos$releasever/$basearch
enabled: yes
gpgcheck: no
gpgkey: https://packages.irods.org/irods-signing-key.asc
repo_gpgcheck: no
state: present
- name: Add iRODS repository on CentOS 7
yum_repository:
description: RENCI iRODS Repository
name: irods
file: renci-irods.yum
baseurl: https://packages.irods.org/yum/pool/centos$releasever/$basearch
enabled: yes
gpgcheck: no
gpgkey: https://packages.irods.org/irods-signing-key.asc
repo_gpgcheck: no
state: present
when: (ansible_facts['distribution'] == "CentOS" and ansible_facts['distribution_major_version'] == "7")
- name: Add key and iRODS repository on Debian / Ubuntu
block:
- name: Add key for iRODS repository on Debian / Ubuntu
apt_key:
url: https://packages.irods.org/irods-signing-key.asc
state: present
validate_certs: yes
- name: Add iRODS repository on Debian / Ubuntu
apt_repository:
repo: deb [arch=amd64] https://package.irods.org/apt/ $(lsb_release -sc) main"
state: present
filename: renci-irods
update_cache: yes
validate_certs: yes
when: ansible_facts['distribution'] == "Debian"
...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment