Browse Source

Изменить 'sshd.yml'

Vladimir Smagin 2 weeks ago
parent
commit
7d3dcbd3d6
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      sshd.yml

+ 5
- 0
sshd.yml View File

@@ -1,5 +1,10 @@
1 1
 ---
2 2
 - name: Configure sshd
3 3
   hosts: all
4
+  vars:
5
+    sshd_config_path: "/etc/ssh/sshd_config"
6
+    sshd_options:
7
+      PubkeyAuthentication: "yes"
8
+      PasswordAuthentication: "no"  
4 9
   roles:
5 10
     - sshd

Loading…
Cancel
Save