Zack Williams | 4761d6f | 2022-03-28 16:42:09 -0700 | [diff] [blame] | 1 | --- |
| 2 | # bird tasks/Ubuntu_18.04.yml |
| 3 | # |
| 4 | # SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org> |
| 5 | # SPDX-License-Identifier: Apache-2.0 |
| 6 | |
| 7 | - name: Copy BIRD repo GPG key for Ubuntu 18.04 |
| 8 | ansible.builtin.copy: |
| 9 | src: bird-keyring.gpg |
| 10 | dest: /usr/share/keyrings/bird-keyring.gpg |
| 11 | owner: root |
| 12 | group: root |
| 13 | mode: 0644 |
| 14 | |
| 15 | - name: Add BIRD apt repo for Ubuntu 18.04 |
| 16 | apt_repository: |
| 17 | repo: >- |
| 18 | deb [arch=amd64 signed-by=/usr/share/keyrings/bird-keyring.gpg] |
| 19 | http://ppa.launchpad.net/cz.nic-labs/bird/{{ ansible_lsb['id'] | lower }} |
| 20 | {{ ansible_lsb['codename'] }} main |
| 21 | mode: 0644 |
| 22 | update_cache: true |
| 23 | |
| 24 | - name: Continue with Debian tasks |
| 25 | include_tasks: "Debian.yml" |