Revert "homedirs for users and root are different"

This reverts commit ec74c0fc65.
This commit is contained in:
2022-02-21 00:52:32 +01:00
parent f48068254f
commit b6178b3a9a

View File

@@ -20,8 +20,6 @@
- public_keys/yubikey.pub - public_keys/yubikey.pub
- name: users | {{ user }} | install private ssh keys - name: users | {{ user }} | install private ssh keys
become: True
become_user: "{{ user }}"
copy: copy:
dest: "{{ getent_passwd[user][4] }}/.ssh/" dest: "{{ getent_passwd[user][4] }}/.ssh/"
src: '{{ item }}' src: '{{ item }}'
@@ -32,8 +30,6 @@
- "private_keys/gitlab_read_ed25519" - "private_keys/gitlab_read_ed25519"
- name: users | {{ user }} | install known_hosts - name: users | {{ user }} | install known_hosts
become: True
become_user: "{{ user }}"
copy: copy:
dest: "{{ getent_passwd[user][4] }}/.ssh/known_hosts" dest: "{{ getent_passwd[user][4] }}/.ssh/known_hosts"
src: "users/known_hosts" src: "users/known_hosts"