summaryrefslogtreecommitdiff
path: root/roles/core/users/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/core/users/tasks/main.yml')
-rw-r--r--roles/core/users/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/core/users/tasks/main.yml b/roles/core/users/tasks/main.yml
index 43fe92f4..847711ab 100644
--- a/roles/core/users/tasks/main.yml
+++ b/roles/core/users/tasks/main.yml
@@ -25,7 +25,7 @@
name: "{{ item }}"
state: present
password: "{{ hostvars[inventory_hostname]['vault_user_password_'+item] }}" ## TODO: find nicer way to do this
- shell: "{{ users[item].shell | default(admin_users_default_shell) }}"
+ shell: "{{ users[item].shell | default(users_default_shell) }}"
- name: add admin users
loop: "{{ admin_users }}"
@@ -35,7 +35,7 @@
password: "{{ hostvars[inventory_hostname]['vault_user_password_'+item] }}" ## TODO: find nicer way to do this
groups: "{{ admin_users_groups }}"
append: yes
- shell: "{{ users[item].shell | default(admin_users_default_shell) }}"
+ shell: "{{ users[item].shell | default(users_default_shell) }}"
- name: install ssh keys for users
loop: "{{ normal_users | union(admin_users) }}"