ctucx.git: ansible-configs

My personal ansible roles and playbooks [deprecated in favor of nixos]

commit ee10f5fc41e2191941a5f4e03ed38e8c088cc926
parent acdf678947aeaee4e11fd0387c0ae8ae99e768dc
Author: Leah (ctucx) <leah@ctu.cx>
Date: Sat, 27 Feb 2021 14:36:41 +0100

roles/common/user: add shell option
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/roles/common/tasks/users.yml b/roles/common/tasks/users.yml
@@ -12,6 +12,7 @@
     name: "{{ item.name }}"
     group: "{{ item.name }}"
     groups: "{{ item.groups }}"
+    shell: "{{ item.shell | default('/usr/bin/sh') }}"
     password: "{{item.password | password_hash('sha512', 'uD7ieghugeigh4eisoimoa3iushaeshechoonaequah5eiquerohph9paexai7oh') }}"
   loop: "{{ system.users }}"