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:
|
name:
|
||||||
- wireguard
|
- wireguard
|
||||||
state: present
|
state: present
|
||||||
|
notify:
|
||||||
- name: Ensure resolvconf is configured
|
- Ensure resolvconf is configured
|
||||||
become: true
|
|
||||||
ansible.builtin.command: ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf
|
|
||||||
|
|
||||||
- name: Ensure profiles are templated
|
- name: Ensure profiles are templated
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Reference in a new issue