From 954c8ecb4f1ff54f1097f92224447bf76293cf51 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Wed, 9 Sep 2026 22:17:34 +0100 Subject: Use bash as the default shell for admin ansible.builtin.user uses useradd's configured default shell if none is specified - which on stock Debian systems, is /bin/sh. Choose a more sane default with colours and reverse-search! This is needed now as I'd like to run both bootstrap and munin-node against both fennell.dev and search.fennell.dev, both of which were unmanaged in the past. Now, at least the initial bootstrap and munin-node config will be managed by ansible. --- bootstrap/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'bootstrap/tasks/main.yml') diff --git a/bootstrap/tasks/main.yml b/bootstrap/tasks/main.yml index 4512804..9732142 100644 --- a/bootstrap/tasks/main.yml +++ b/bootstrap/tasks/main.yml @@ -35,6 +35,7 @@ ansible.builtin.user: name: admin groups: wheel + shell: /bin/bash append: true - name: Ensure admin ssh directory exists -- cgit v1.2.3