Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions server/taskflows/hpccloud/taskflow/utility/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@ def create_ec2_cluster(task, cluster, profile, ami):
# Get the update to date cluster
cluster = client.get('clusters/%s' % cluster['_id'])

# Add the passphrase if there is one. We need to do this as the clusters endpoints will not
# expose it for security reasons.
passphrase = parse('ssh.passphrase').find(profile)
if passphrase:
passphrase = passphrase[0].value
cluster['config']['ssh']['passphrase'] = passphrase

return cluster

@cumulus.taskflow.task
Expand Down