瀏覽代碼

remove commented section

pull/1298/head
Michael Collins 4 年之前
父節點
當前提交
33c471477f
共有 1 個檔案被更改,包括 0 行新增8 行删除
  1. +0
    -8
      roles/matrix-awx/tasks/rotate_ssh.yml

+ 0
- 8
roles/matrix-awx/tasks/rotate_ssh.yml 查看文件

@@ -1,12 +1,4 @@

#- name: Update authorized_keys with new client public key
# #delegate_to: "matrix.{{ id_array.0 }}"
# delegate_to: "{{ id_array.0 }}"
# shell: |
# cp /root/.ssh/authorized_keys /root/.ssh/authorized_keys.backup \
# && truncate -s 0 /root/.ssh/authorized_keys \
# && echo "{{ new_ssh_public_key }}" >> /root/.ssh/authorized_keys
- name: Set the new authorized key taken from file
authorized_key:
user: root


Loading…
取消
儲存