feat(global_defaults): add root.shell to system schema and normalization

This commit is contained in:
sandwich committed 2026-02-22 03:07:30 +01:00
1 parent 2265e346b0
commit 81ff2b2b87
3 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@
- name: Set root shell
ansible.builtin.command: >-
{{ chroot_command }} /usr/sbin/usermod --shell {{ system_cfg.root.shell | default('/bin/bash') }} root
{{ chroot_command }} /usr/sbin/usermod --shell {{ system_cfg.root.shell }} root
register: configuration_root_shell_result
changed_when: configuration_root_shell_result.rc == 0