Merge pull request 'Do not deploy SSH keys if already deployed.' (#55) from modify-lsyncd-deploy-key into master
Reviewed-on: #55
This commit is contained in:
commit
3607dd1829
|
@ -24,6 +24,9 @@ end
|
||||||
source "files/root/.ssh/#{f}"
|
source "files/root/.ssh/#{f}"
|
||||||
|
|
||||||
password ENV['ITAMAE_PASSWORD']
|
password ENV['ITAMAE_PASSWORD']
|
||||||
|
|
||||||
|
# Do not overwrite:
|
||||||
|
not_if "test -e /root/.ssh/#{f}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue