]> arthur.barton.de Git - AnsibleRoles.git/blobdiff - roles/sshd/handlers/main.yml
ansible-lint: Fix "Use shell only when shell functionality is required" warning
[AnsibleRoles.git] / roles / sshd / handlers / main.yml
index bb2970db4a9afeb539ca1dbf2b89c396f469ed74..b0ca929789003ad75de2dee0802e5e20d83ebb28 100644 (file)
@@ -4,7 +4,7 @@
 - name: restart "sshd"
   tags:
     - ssh
-  shell: echo "SSH service should be restarted ..."
+  command: echo "SSH service should be restarted ..."
   changed_when: True
   notify:
     - restart SSH daemon (service "ssh")