aboutsummaryrefslogtreecommitdiffstats
path: root/roles/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bootstrap')
-rw-r--r--roles/bootstrap/handlers/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/bootstrap/handlers/main.yml b/roles/bootstrap/handlers/main.yml
index 6ecf94f..eddd40e 100644
--- a/roles/bootstrap/handlers/main.yml
+++ b/roles/bootstrap/handlers/main.yml
@@ -1,3 +1,5 @@
---
- name: restart-sshd
- command: service sshd restart
+ service:
+ name: sshd
+ state: restarted