Revert "homedirs for users and root are different"
This reverts commit ec74c0fc65.
This commit is contained in:
@@ -20,8 +20,6 @@
|
||||
- public_keys/yubikey.pub
|
||||
|
||||
- name: users | {{ user }} | install private ssh keys
|
||||
become: True
|
||||
become_user: "{{ user }}"
|
||||
copy:
|
||||
dest: "{{ getent_passwd[user][4] }}/.ssh/"
|
||||
src: '{{ item }}'
|
||||
@@ -32,8 +30,6 @@
|
||||
- "private_keys/gitlab_read_ed25519"
|
||||
|
||||
- name: users | {{ user }} | install known_hosts
|
||||
become: True
|
||||
become_user: "{{ user }}"
|
||||
copy:
|
||||
dest: "{{ getent_passwd[user][4] }}/.ssh/known_hosts"
|
||||
src: "users/known_hosts"
|
||||
|
||||
Reference in New Issue
Block a user