Add repo only on buster or earlier
This commit is contained in:
parent
59c288001e
commit
2b6ac11caf
|
@ -1,6 +1,11 @@
|
|||
Changelog
|
||||
---------
|
||||
|
||||
*6.0.4*
|
||||
|
||||
- Use the buster-backports repository on Debian Buster (or older), use package
|
||||
standard repositories on sid/bullseye.
|
||||
|
||||
**6.0.3**
|
||||
|
||||
- If `wg syncconf` command is not available do stop/start service instead of restart (contribution by @cristichiru)
|
||||
|
|
|
@ -14,11 +14,12 @@
|
|||
name: gnupg
|
||||
state: present
|
||||
|
||||
- name: Add WireGuard repository
|
||||
- name: Add WireGuard repository on buster or earlier
|
||||
apt_repository:
|
||||
repo: "deb http://deb.debian.org/debian buster-backports main"
|
||||
state: present
|
||||
update_cache: yes
|
||||
when: ansible_distribution_version | int <= 10
|
||||
tags:
|
||||
- wg-install
|
||||
|
||||
|
|
Reference in New Issue