summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2026-09-09 22:17:34 +0100
committerMatthew Fennell <matthew@fennell.dev>2026-09-09 22:17:34 +0100
commit954c8ecb4f1ff54f1097f92224447bf76293cf51 (patch)
treeeb82d76c57cc0f2b2fac5448719dc8cafb4226e3 /bootstrap
parent1abcdf6fe1f109db6fa8df609f98b87fccb31b0c (diff)
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.
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
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