Merge pull request 'Fixed adding bird apt-repositories' (#1) from repo-fix into master

Reviewed-on: #1
pull/2/head
n0emis 4 years ago
commit e5fb54e966

@ -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