23 lines
541 B
YAML
23 lines
541 B
YAML
|
---
|
||
|
- name: ensure dirmngr and apt-transport-https are installed
|
||
|
package:
|
||
|
name: "{{ item }}"
|
||
|
state: present
|
||
|
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 }}"
|