ansible-roles/library/roles/dnet-apt-repo/tasks/main.yml

19 lines
610 B
YAML

---
- name: apt key for the internal ppa repository
apt_key: url=http://ppa.research-infrastructures.eu/system/keys/system-archive.asc state=present
when: has_apt
register: update_apt_cache
tags: dnet
- name: Install the D-NET repository key
action: apt_key url=http://ppa.research-infrastructures.eu/dnet/keys/dnet-archive.asc
tags: dnet
- name: Install the D-Net apt repositories
apt_repository: repo='{{ item }}' update_cache=yes
with_items:
- deb http://ppa.research-infrastructures.eu/dnet lucid main
- deb http://ppa.research-infrastructures.eu/dnet unstable main
tags: dnet