Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
ssh-initramfs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible
roles
ssh-initramfs
Commits
d3d917f0
Verified
Commit
d3d917f0
authored
1 month ago
by
nd
Browse files
Options
Downloads
Patches
Plain Diff
bookworm support
parent
f6d16e10
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tasks/main.yml
+2
-2
2 additions, 2 deletions
tasks/main.yml
templates/config.j2
+15
-1
15 additions, 1 deletion
templates/config.j2
vars/main.yml
+2
-0
2 additions, 0 deletions
vars/main.yml
with
19 additions
and
3 deletions
tasks/main.yml
+
2
−
2
View file @
d3d917f0
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
notify
:
update initramfs
notify
:
update initramfs
template
:
template
:
src
:
config.j2
src
:
config.j2
dest
:
/etc/
dropbear
-
initramfs
/
config
dest
:
"
{{
dropbear
_
initramfs
_
config
_path
}}"
mode
:
0644
mode
:
0644
owner
:
root
owner
:
root
group
:
root
group
:
root
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
notify
:
update initramfs
notify
:
update initramfs
template
:
template
:
src
:
authorized_keys.j2
src
:
authorized_keys.j2
dest
:
/etc/
dropbear
-
initramfs/authorized_keys
dest
:
"
{{
dropbear
_
initramfs
_path
}}
/authorized_keys
"
mode
:
0644
mode
:
0644
owner
:
root
owner
:
root
group
:
root
group
:
root
This diff is collapsed.
Click to expand it.
templates/config.j2
+
15
−
1
View file @
d3d917f0
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
#
#
# Command line options to pass to dropbear(8)
# Command line options to pass to dropbear(8)
#
#
# -s -> disable password login
# -s -> disable password login
DROPBEAR_OPTIONS="-s"
DROPBEAR_OPTIONS="-s"
...
@@ -13,5 +14,18 @@ DROPBEAR_OPTIONS="-s"
...
@@ -13,5 +14,18 @@ DROPBEAR_OPTIONS="-s"
# The special value 'none' keeps all interfaces up and preserves routing
# The special value 'none' keeps all interfaces up and preserves routing
# tables and addresses.
# tables and addresses.
#
#
#IFDOWN=
*
#IFDOWN=
"*"
#
# On local (non-NFS) mounts, the network stack and dropbear are started
# asynchronously at init-premount stage. This value specifies the
# maximum number of seconds to wait (while the network/dropbear are
# being configured) at init-bottom stage before terminating dropbear and
# bringing the network down.
# If the timeout is too short, and if the boot process is not blocking
# on user input supplied via SSHd (ie no remote unlocking), then the
# initrd might pivot to init(1) too early, thereby causing a race
# condition between network configuration from initramfs vs from the
# normal system.
#
#DROPBEAR_SHUTDOWN_TIMEOUT=60
This diff is collapsed.
Click to expand it.
vars/main.yml
0 → 100644
+
2
−
0
View file @
d3d917f0
dropbear_initramfs_path
:
"
{%
if
ansible_distribution_release
==
'bullseye'
%}/etc/dropbear-initramfs/{%
else
%}/etc/dropbear/initramfs/{%
endif
%}"
dropbear_initramfs_config_path
:
"
{{
dropbear_initramfs_path
}}{%
if
ansible_distribution_release
==
'bullseye'
%}config{%
else
%}dropbear.conf{%
endif
%}"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment