diff options
Diffstat (limited to 'roles/uvok_bird/tasks')
-rw-r--r-- | roles/uvok_bird/tasks/main.yml | 14 |
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 }}' |