fix: wireguard on archlinux
This commit is contained in:
parent
235881aba7
commit
525868caaf
@ -19,10 +19,11 @@
|
|||||||
# Use systemd-resolved for DNS management (modern approach on all distributions)
|
# Use systemd-resolved for DNS management (modern approach on all distributions)
|
||||||
# Install systemd-resolvconf to provide resolvconf compatibility wrapper
|
# Install systemd-resolvconf to provide resolvconf compatibility wrapper
|
||||||
# "systemd-resolved" is prefered over "openresolv"
|
# "systemd-resolved" is prefered over "openresolv"
|
||||||
- name: Install systemd-resolvconf
|
- name: Install systemd-resolvconf (Debian only, built into systemd on Arch)
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name: systemd-resolvconf
|
name: systemd-resolvconf
|
||||||
state: present
|
state: present
|
||||||
|
when: ansible_facts['os_family'] == 'Debian'
|
||||||
|
|
||||||
- name: Ensure systemd-resolved is enabled and started
|
- name: Ensure systemd-resolved is enabled and started
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user