浏览代码

Update essential.yml

Nicolas Meienberger 3 年之前
父节点
当前提交
265f0be9f8
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      ansible/tasks/common/essential.yml

+ 0 - 5
ansible/tasks/common/essential.yml

@@ -26,11 +26,6 @@
     line: "{{ username }} ALL=(ALL) NOPASSWD: ALL"
     line: "{{ username }} ALL=(ALL) NOPASSWD: ALL"
     validate: "/usr/sbin/visudo -cf %s"
     validate: "/usr/sbin/visudo -cf %s"
 
 
-- name: Restart SSH daemon
-  service:
-    name: sshd
-    state: restarted
-
 - name: Allow SSH in UFW
 - name: Allow SSH in UFW
   community.general.ufw:
   community.general.ufw:
     rule: allow
     rule: allow