diff options
| author | spmfox <spmfox@foxwd.com> | 2025-05-14 20:40:03 -0400 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2025-05-14 20:40:03 -0400 |
| commit | 9af1708e2f67af6c44e800d6960ad3fc962b3386 (patch) | |
| tree | 50b88eeed27ee130961891542060d742d091c6cf /roles/host/defaults | |
| parent | 35ba5f40cc9b4dc2c07dc236c5c2272afd2d673f (diff) | |
fixing bash helpers so they allow sftp to work
Diffstat (limited to 'roles/host/defaults')
| -rw-r--r-- | roles/host/defaults/main.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/host/defaults/main.yml b/roles/host/defaults/main.yml index 549d056..ce4248e 100644 --- a/roles/host/defaults/main.yml +++ b/roles/host/defaults/main.yml @@ -6,6 +6,17 @@ host_shell_login_helper: | podman container list --all --sort status --format={{ '"{{.State}} {{.Status}} {{.Names}}"' }} echo "" +host_shell_login_helper_bash: | + if [[ $- == *i* ]] + then + {{ host_shell_login_helper | indent(4) | trim }} + fi + +host_shell_login_helper_fish: | + if status is-interactive + {{ host_shell_login_helper | indent(4) | trim }} + end + host_containers_user: "{{ containers_user if containers_user is defined else 'containers' }}" host_patching: false host_patching_apply: false |
