2019-02-23 11:53:41 +00:00
|
|
|
- name: includes/repos.yaml
|
|
|
|
tags:
|
|
|
|
- install
|
|
|
|
- repos
|
|
|
|
block:
|
|
|
|
- name: "Apt repo: Import GPG key: {{ repo.name }}"
|
|
|
|
apt_key:
|
|
|
|
state: present
|
|
|
|
url: "{{ repo.key }}"
|
2019-02-25 14:39:38 +00:00
|
|
|
when: repo.key
|
2019-02-23 11:53:41 +00:00
|
|
|
become: true
|
|
|
|
|
|
|
|
- name: "Apt repo: Add repo: {{ repo.name }}"
|
|
|
|
apt_repository:
|
|
|
|
state: present
|
|
|
|
repo: "{{ repo.data }}"
|
|
|
|
become: true
|