Fixed adding bird apt-repositories

pull/1/head
Leo Maroni 4 years ago
parent 4b90bd4aa4
commit bf416eac65
No known key found for this signature in database
GPG Key ID: B1ADA545CD2CBACD

@ -1,10 +1,10 @@
--- ---
- name: Add birds packaging Key - name: Add birds packaging Key
apt_key: apt_key:
url: "http://bird.network.cz/debian/apt.gpg" url: "https://packages.sury.org/bird/apt.gpg"
state: present state: present
- name: Ensure bird repos are present - name: Ensure bird repos are present
apt_repository: apt_repository:
repo: "deb https://bird.network.cz/debian/ {{ ansible_distribution_release }} main" repo: "deb https://packages.sury.org/bird/ {{ ansible_distribution_release }} main"
update_cache: yes update_cache: yes

@ -1,5 +1,6 @@
--- ---
- import_tasks: sysctl.yml - import_tasks: sysctl.yml
- import_tasks: bird-repos.yml
- import_tasks: bird2.yml - import_tasks: bird2.yml
- include_tasks: wireguard.yml - include_tasks: wireguard.yml
loop: "{{ dn42_peers }}" loop: "{{ dn42_peers }}"
@ -31,4 +32,4 @@
- "ip a add {{ dn42_local_v4 }}/32 dev lo" - "ip a add {{ dn42_local_v4 }}/32 dev lo"
- "ip a add {{ dn42_local_v6 }}/128 dev lo" - "ip a add {{ dn42_local_v6 }}/128 dev lo"
state: present state: present
notify: restart networking notify: restart networking

Loading…
Cancel
Save