handler
This commit is contained in:
parent
76e80bef32
commit
2711b53443
2 changed files with 7 additions and 4 deletions
5
roles/mgrote_wireguard/handlers/main.yml
Normal file
5
roles/mgrote_wireguard/handlers/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- name: Ensure resolvconf is configured
|
||||
become: true
|
||||
ansible.builtin.command: ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf
|
||||
...
|
|
@ -5,10 +5,8 @@
|
|||
name:
|
||||
- wireguard
|
||||
state: present
|
||||
|
||||
- name: Ensure resolvconf is configured
|
||||
become: true
|
||||
ansible.builtin.command: ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf
|
||||
notify:
|
||||
- Ensure resolvconf is configured
|
||||
|
||||
- name: Ensure profiles are templated
|
||||
become: true
|
||||
|
|
Loading…
Reference in a new issue