| --- |
| # bird tasks/Ubuntu_18.04.yml |
| # |
| # SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org> |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| - name: Copy BIRD repo GPG key for Ubuntu 18.04 |
| ansible.builtin.copy: |
| src: bird-keyring.gpg |
| dest: /usr/share/keyrings/bird-keyring.gpg |
| owner: root |
| group: root |
| mode: 0644 |
| |
| - name: Add BIRD apt repo for Ubuntu 18.04 |
| apt_repository: |
| repo: >- |
| deb [arch=amd64 signed-by=/usr/share/keyrings/bird-keyring.gpg] |
| http://ppa.launchpad.net/cz.nic-labs/bird/{{ ansible_lsb['id'] | lower }} |
| {{ ansible_lsb['codename'] }} main |
| mode: 0644 |
| update_cache: true |
| |
| - name: Continue with Debian tasks |
| include_tasks: "Debian.yml" |