2017-09-05 12:01:27 +02:00
|
|
|
---
|
|
|
|
- name: ensure dirmngr and apt-transport-https are installed
|
2017-10-11 17:53:20 +02:00
|
|
|
package:
|
2017-09-05 12:01:27 +02:00
|
|
|
name: "{{ item }}"
|
2017-10-11 17:53:20 +02:00
|
|
|
state: present
|
2017-09-05 12:01:27 +02:00
|
|
|
with_items:
|
|
|
|
- dirmngr
|
|
|
|
- apt-transport-https
|
|
|
|
|
|
|
|
- name: ensure apt key for freifunk-mwu is present
|
|
|
|
apt_key:
|
|
|
|
state: present
|
|
|
|
id: 83A70084
|
|
|
|
url: "http://repo.freifunk-mwu.de/83A70084.gpg.key"
|
|
|
|
|
|
|
|
- name: ensure needed apt repos are present
|
|
|
|
apt_repository:
|
|
|
|
state: present
|
|
|
|
repo: "{{ item.repo }}"
|
|
|
|
update_cache: "{{ item.update_cache }}"
|
|
|
|
filename: "{{ item.name }}"
|
|
|
|
with_items: "{{ repos }}"
|