Only generate a private SSH key on Geo secondaries
This commit is contained in:
parent
1a3d2704d5
commit
c2f2dcba80
|
@ -44,12 +44,11 @@ end
|
|||
end
|
||||
end
|
||||
|
||||
include_recipe 'gitlab-ee::ssh_keys'
|
||||
|
||||
# Geo secondary
|
||||
if node['gitlab']['geo-postgresql']['enable']
|
||||
include_recipe 'gitlab-ee::geo-secondary'
|
||||
include_recipe 'gitlab-ee::geo_database_migrations'
|
||||
include_recipe 'gitlab-ee::ssh_keys'
|
||||
end
|
||||
|
||||
# pgbouncer_user and pgbouncer_user_password are settings for the account
|
||||
|
|
Loading…
Reference in New Issue