31 lines
725 B
YAML
31 lines
725 B
YAML
|
---
|
||
|
- name: ensure dirmngr and apt-transport-https are installed
|
||
|
apt:
|
||
|
state: present
|
||
|
name: "{{ item }}"
|
||
|
update_cache: yes
|
||
|
cache_valid_time: 21600
|
||
|
with_items:
|
||
|
- dirmngr
|
||
|
- apt-transport-https
|
||
|
|
||
|
- name: ensure apt key for universe-factory is present
|
||
|
apt_key:
|
||
|
state: present
|
||
|
id: 16ef3f64cb201d9c
|
||
|
keyserver: pgp.mit.edu
|
||
|
|
||
|
- 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 }}"
|