Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-role-user
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
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Global Dynamic Exposure
server-components
ansible
ansible-role-user
Merge requests
!1
Added routine to add ssh key for root
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Added routine to add ssh key for root
feature/root-ssh-key
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Felix Delattre
requested to merge
feature/root-ssh-key
into
master
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
6ad5230a
1 commit,
3 years ago
1 file
+
9
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
tasks/main.yml
+
9
−
1
Options
@@ -12,7 +12,15 @@
-
name
:
Ensure standard user exists.
user
:
name
:
"
{{
system_user_username
}}"
generate_ssh_key
:
yes
# generate default id_rsa
generate_ssh_key
:
yes
ssh_key_type
:
ed25519
password
:
"
{{
system_user_password|password_hash('sha512')
}}"
groups
:
"
ssh_login,sudo,docker"
update_password
:
on_create
-
name
:
Ensure SSH key for root exists.
user
:
name
:
root
generate_ssh_key
:
yes
ssh_key_type
:
ed25519
force
:
no
Loading