Do not deploy SSH keys if already deployed.
This commit is contained in:
parent
b499e69b29
commit
2ca7e31821
|
@ -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