diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-04-28 20:06:23 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-04-28 20:06:23 +0200 |
commit | e53006bbec0ffe5e23066be2432ecdf6fb30a8ce (patch) | |
tree | 94c7528a594da2ab0e38c4a205f730a0fdc52446 | |
parent | move raspios and openwrt folders to installer/ (diff) |
remove unused role ws/users now that core/users exists
-rw-r--r-- | roles/ws/users/defaults/main.yml | 2 | ||||
-rw-r--r-- | roles/ws/users/tasks/main.yml | 15 |
2 files changed, 0 insertions, 17 deletions
diff --git a/roles/ws/users/defaults/main.yml b/roles/ws/users/defaults/main.yml deleted file mode 100644 index 2e82bf88..00000000 --- a/roles/ws/users/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -ws_users_default_shell: /bin/zsh diff --git a/roles/ws/users/tasks/main.yml b/roles/ws/users/tasks/main.yml deleted file mode 100644 index 23d9eb73..00000000 --- a/roles/ws/users/tasks/main.yml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- name: add workstation users - loop: "{{ ws_users }}" - user: - name: "{{ item }}" - state: present - password: "{{ hostvars[inventory_hostname]['vault_user_password_'+item] }}" ## TODO: find nicer way to do this - shell: "{{ users[item].shell | default(ws_users_default_shell) }}" - -- name: install ssh keys for workstation users - loop: "{{ ws_users }}" - authorized_key: - user: "{{ item }}" - key: "{{ users[item].ssh | join('\n') }}" - exclusive: yes |