Fix: forgot to remove ssh public_key in ssh task

This commit is contained in:
Bertrand Benjamin 2020-07-16 18:18:44 +02:00
parent 6014d91475
commit abcc0f569d
1 changed files with 0 additions and 10 deletions

View File

@ -22,16 +22,6 @@
tags:
- first_deployement
- name: ssh -- Add public key for deploy user
authorized_key:
user: "{{ item.username }}"
key: "{{ lookup('file', 'sshpubs/' + deploy_public_key) }}"
state: present
with_items: "{{ deploy_users }}"
register: add_identity_key
tags:
- first_deployement
- name: ssh -- Disable password login
lineinfile:
dest: /etc/ssh/sshd_config