浏览代码

Update passwordless_ssh.yml

Signed-off-by: sakshiarora13 <sakshi_arora1@dell.com>
sakshiarora13 3 年之前
父节点
当前提交
036c6abdb0
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      control_plane/tools/roles/cluster_preperation/tasks/passwordless_ssh.yml

+ 2 - 2
control_plane/tools/roles/cluster_preperation/tasks/passwordless_ssh.yml

@@ -49,7 +49,7 @@
   ansible.builtin.file:
     path: "{{ rsa_id_file }}"
     state: touch
-    mode: "{{ file_mode }}"
+    mode: "{{ ssh_file_mode }}"
   when:
     - not ssh_status
     - not verify_rsa_id_file.stat.exists
@@ -65,7 +65,7 @@
     content: |
       Host *
           IdentityFile "{{ rsa_id_file }}"
-    mode: "{{ file_mode }}"
+    mode: "{{ ssh_file_mode }}"
 
 - name: Add the key identity
   shell: |