diff options
author | 2023-02-10 13:57:09 +0000 | |
---|---|---|
committer | 2023-02-22 21:47:57 +0400 | |
commit | b479965a80e579ebad2b2b1ba7eca2d2cc04c13b (patch) | |
tree | 90e3666fee9ed1571e46f0ee65a4af5a46cc50df /local_testing/scripts | |
parent | Bump SebastiaanZ/github-status-embed-for-discord to 0.3.0 (diff) |
Add `local_testing` utilizing vagrant and virtualbox to create an environment that we can test ansible updates in
Diffstat (limited to 'local_testing/scripts')
-rwxr-xr-x | local_testing/scripts/push-keys | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/local_testing/scripts/push-keys b/local_testing/scripts/push-keys new file mode 100755 index 0000000..6fdc85f --- /dev/null +++ b/local_testing/scripts/push-keys @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# Intended to be used in the "control" VM to push keys to the other hosts + +for i in {1..6} ; do + ssh-keyscan 192.168.56.$i >> ~/.ssh/known_hosts + sshpass -p vagrant ssh-copy-id 192.168.56.$i +done |