diff --git a/initial-setup.yml b/initial-setup.yml index 60265c9..937f647 100644 --- a/initial-setup.yml +++ b/initial-setup.yml @@ -46,7 +46,7 @@ - name: add authorized key to SSH login user authorized_key: key: "{{ item }}" - user: "{{ new_user_name }}" + user: "{{ ssh_user }}" with_file: - "{{ ssh_key }}" - name: set up SSH properly