mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-24 01:48:29 +01:00
remove commented section
This commit is contained in:
parent
6902ee5aa7
commit
33c471477f
@ -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…
Reference in New Issue
Block a user