diff --git a/roles/fastd-exporter/handlers/main.yml b/roles/fastd-exporter/handlers/main.yml index c873858..f2f14ea 100644 --- a/roles/fastd-exporter/handlers/main.yml +++ b/roles/fastd-exporter/handlers/main.yml @@ -1,7 +1,7 @@ --- -- name: Restart fastd-exporter - service: name=fastd-exporter state=restarted - - name: Reload systemd command: systemctl daemon-reload + +- name: Restart fastd-exporter + service: name=fastd-exporter state=restarted diff --git a/roles/node_exporter/handlers/main.yml b/roles/node_exporter/handlers/main.yml index 0364b35..4ab254d 100644 --- a/roles/node_exporter/handlers/main.yml +++ b/roles/node_exporter/handlers/main.yml @@ -1,7 +1,7 @@ --- -- name: Restart node_exporter - service: name=node_exporter state=restarted - - name: Reload systemd command: systemctl daemon-reload + +- name: Restart node_exporter + service: name=node_exporter state=restarted diff --git a/roles/respondd/handlers/main.yml b/roles/respondd/handlers/main.yml index 38ab132..1fd0434 100644 --- a/roles/respondd/handlers/main.yml +++ b/roles/respondd/handlers/main.yml @@ -1,7 +1,7 @@ --- -- name: Restart respondd - service: name=respondd state=restarted - - name: Reload systemd command: systemctl daemon-reload + +- name: Restart respondd + service: name=respondd state=restarted diff --git a/roles/yanic/handlers/main.yml b/roles/yanic/handlers/main.yml index 31a3d13..adbe0a3 100644 --- a/roles/yanic/handlers/main.yml +++ b/roles/yanic/handlers/main.yml @@ -1,10 +1,10 @@ --- +- name: Reload systemd + command: systemctl daemon-reload + - name: Restart yanic service: name=yanic state=restarted - name: Restart yanic-publish service: name=yanic-publish.timer state=restarted - -- name: Reload systemd - command: systemctl daemon-reload