Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpc-factory
Manage
Activity
Members
Labels
Plan
Issues
68
Issue boards
Milestones
Wiki
Code
Merge requests
10
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rc
hpc-factory
Merge requests
!163
fix: add when condition to ssh_host_keys role
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix: add when condition to ssh_host_keys role
fix-missing-ssh-host-key
into
feat-hpc-factory
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Bo-Chun Chen
requested to merge
fix-missing-ssh-host-key
into
feat-hpc-factory
5 months ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Follow the same approach in ssl_cert role, to avoid missing host key issue during deploy
👍
0
👎
0
Merge request reports
Compare
feat-hpc-factory
feat-hpc-factory (base)
and
latest version
latest version
0ec2bcda
1 commit,
5 months ago
1 file
+
2
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ansible/roles/ssh_host_keys/tasks/main.yml
+
2
−
0
Options
@@ -22,6 +22,7 @@
@@ -22,6 +22,7 @@
aws_secret_key
:
"
{{
LTS_SECRET_KEY
}}"
aws_secret_key
:
"
{{
LTS_SECRET_KEY
}}"
vars
:
vars
:
ansible_python_interpreter
:
/usr/bin/python3
ansible_python_interpreter
:
/usr/bin/python3
when
:
SSH_HOST_KEYS_S3_BUCKET | length > 0 and SSH_HOST_KEYS_S3_OBJECT | length >
0
-
name
:
Unpack SSH host keys to /etc/ssh
-
name
:
Unpack SSH host keys to /etc/ssh
ansible.builtin.unarchive
:
ansible.builtin.unarchive
:
@@ -31,6 +32,7 @@
@@ -31,6 +32,7 @@
owner
:
root
owner
:
root
remote_src
:
yes
remote_src
:
yes
become
:
true
become
:
true
when
:
SSH_HOST_KEYS_S3_BUCKET | length > 0 and SSH_HOST_KEYS_S3_OBJECT | length >
0
-
name
:
Remove the temporary folder after put in place
-
name
:
Remove the temporary folder after put in place
ansible.builtin.file
:
ansible.builtin.file
:
Loading