summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authoruvok cheetah2025-01-17 19:46:23 +0100
committeruvok cheetah2025-01-17 19:46:23 +0100
commitc306915829dc206a65f5e6036e1d5ca7cc4ebdc7 (patch)
tree97358cd8f8153b0294916d929fa86191454345bc /roles
parent64ca9bcd7ba25f53a7d9f1535b33523644c686f2 (diff)
bird: Add labs.nic.cz repo
Diffstat (limited to 'roles')
-rw-r--r--roles/uvok_bird/tasks/main.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/uvok_bird/tasks/main.yml b/roles/uvok_bird/tasks/main.yml
index a6c8efa..371d9e2 100644
--- a/roles/uvok_bird/tasks/main.yml
+++ b/roles/uvok_bird/tasks/main.yml
@@ -1,5 +1,19 @@
---
# tasks file for uvok_bird
+- name: Add nic.cz repo
+ tags:
+ - repo
+ block:
+ - name: Get APT GPG key
+ get_url:
+ url: https://pkg.labs.nic.cz/gpg
+ dest: /usr/share/keyrings/cznic-labs-pkg.gpg
+ mode: "644"
+ - name: Add repo
+ ansible.builtin.apt_repository:
+ repo: "deb [signed-by=/usr/share/keyrings/cznic-labs-pkg.gpg] https://pkg.labs.nic.cz/bird2 {{ ansible_distribution_release }} main"
+ state: present
+ filename: cznic-labs-bird2
- name: Ensure route/table definitions exists
ansible.builtin.file:
path: '{{ uvok_bird_route_file }}'