aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/systemd-networkd/handlers/main.yml
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-09-14 20:38:55 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2024-09-14 20:39:29 +0200
commit8353376b24e6f2c038575c8d378c348c4ee5e092 (patch)
tree43d205378735debeb8fe0c9a15ef5756d0348286 /ansible/roles/systemd-networkd/handlers/main.yml
parentbe5e42a6ce45470aff3838da034e77366b86aad9 (diff)
downloadinfra-8353376b24e6f2c038575c8d378c348c4ee5e092.tar.gz
infra-8353376b24e6f2c038575c8d378c348c4ee5e092.tar.bz2
infra-8353376b24e6f2c038575c8d378c348c4ee5e092.tar.xz
infra-8353376b24e6f2c038575c8d378c348c4ee5e092.zip
systemd-networkd: Allow templating
Diffstat (limited to 'ansible/roles/systemd-networkd/handlers/main.yml')
-rw-r--r--ansible/roles/systemd-networkd/handlers/main.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/ansible/roles/systemd-networkd/handlers/main.yml b/ansible/roles/systemd-networkd/handlers/main.yml
index 9656da4..5050e02 100644
--- a/ansible/roles/systemd-networkd/handlers/main.yml
+++ b/ansible/roles/systemd-networkd/handlers/main.yml
@@ -1,4 +1,5 @@
-- name: restart
+- become: yes
+ name: reload
systemd:
name: systemd-networkd
- state: restarted
+ state: reloaded