kitchen-ansible 0.45.7 → 0.45.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kitchen/provisioner/ansible_playbook.rb +6 -1
- data/lib/kitchen-ansible/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82fdbc0338733ece9803eb436e18c4c7ec9696a7
|
4
|
+
data.tar.gz: 6bb091fb45e32299f08a6b8a77c9af9faa0bb730
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cecd51eb3cdc495e8d6d274c6706efc5fdbc2bbcbf0d6bec017a4ee6dca9903b033575e24dd82b1340bb3b52242c02d55fbec4dfebd7b5c97ce6591365a34cf3
|
7
|
+
data.tar.gz: d2792b3e2c0acc1ce5810d8ab0bbbe99c8c8f3899a73b11880d0458487e7f74b05a2ca863e75d76fc35bf8dafe86ab39defa57da52a7cd254f0140b7553b1204
|
@@ -297,7 +297,12 @@ module Kitchen
|
|
297
297
|
if config[:ssh_known_hosts]
|
298
298
|
config[:ssh_known_hosts].each do |host|
|
299
299
|
info("Add #{host} to ~/.ssh/known_hosts")
|
300
|
-
|
300
|
+
if host.include? ':'
|
301
|
+
stripped_host, port = host.split(':')
|
302
|
+
commands << "ssh-keyscan -p #{port} #{stripped_host} >> ~/.ssh/known_hosts 2> /dev/null"
|
303
|
+
else
|
304
|
+
commands << "ssh-keyscan #{host} >> ~/.ssh/known_hosts 2> /dev/null"
|
305
|
+
end
|
301
306
|
end
|
302
307
|
end
|
303
308
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-ansible
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.45.
|
4
|
+
version: 0.45.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neill Turner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-kitchen
|