From c306915829dc206a65f5e6036e1d5ca7cc4ebdc7 Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Fri, 17 Jan 2025 19:46:23 +0100 Subject: bird: Add labs.nic.cz repo --- roles/uvok_bird/tasks/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'roles/uvok_bird/tasks/main.yml') 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 }}' -- cgit v1.2.3