kitchen-ansible 0.56.0 → 0.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb3c0e10d572c5db59b9d6ecc8be05c0b62f227beb977f68b8c8b6b5e261a5f4
4
- data.tar.gz: d33c5a241fab596f8dd4f849a2b5784eaac33d04ae3711a8cd8d1ff068ee9151
3
+ metadata.gz: 1a8dd6b2d531e23dfc6c50c161be2ba3b94a1d2a9b5f4cad55c3febb7d57301a
4
+ data.tar.gz: b987177ab9bed7bc399e56150cc0c34df023b525aaa354857e2ad957d178f315
5
5
  SHA512:
6
- metadata.gz: 3981c30637f136f8441b6644b0845a63e8cd6d8e7e9194079712525e38f7b905e14a47d52e191bebcc378c8574b1d1a38428a9d7ce4e7435affaeacfa0d70dab
7
- data.tar.gz: 701f3281bdf9c5d6fc1346f0523221efc36e911385bd0cbe6657b38d7544f0fbf6e4ae928f726bf06e4fea1ffaeb6bf060e4943d2c45220b6c8f750b94598d20
6
+ metadata.gz: cd93caf0fe0fde4a9cb8b5bc1a61d22af0a1155b61253cdc9745dea4ff5678499c06b330de09192ba410500f7c4476d0d472d2da0c097e53ed2093c9f31457f0
7
+ data.tar.gz: 9e7b3ca6a11f397760a80351a8607e5d2de14af98cae400b18925d76ae14a2f7364dda87a06a38df6bdb3eb3d07f04a2ea9fe6b043363e9d84564b6a7cefab39
@@ -344,7 +344,15 @@ module Kitchen
344
344
 
345
345
  if config[:additional_ssh_private_keys]
346
346
  commands << [
347
- sudo_env('cp -r'), File.join(config[:root_path], 'ssh_private_keys'), '~/.ssh'
347
+ sudo_env('chmod -R 600'), File.join(config[:root_path], 'ssh_private_keys/*')
348
+ ].join(' ')
349
+
350
+ commands << [
351
+ sudo_env('chown -R'), "#{instance.transport[:username]}:#{instance.transport[:username]}", File.join(config[:root_path], 'ssh_private_keys/*')
352
+ ].join(' ')
353
+
354
+ commands << [
355
+ sudo_env('cp -rp'), File.join(config[:root_path], 'ssh_private_keys/*'), '~/.ssh'
348
356
  ].join(' ')
349
357
  end
350
358
 
@@ -483,6 +491,7 @@ module Kitchen
483
491
  def ansible_galacy_collection_command
484
492
  cmd = [
485
493
  'ansible-galaxy', 'collection', 'install', '--force',
494
+ galaxy_cert_ignore,
486
495
  '-p', File.join(config[:root_path], 'collections'),
487
496
  '-r', File.join(config[:root_path], galaxy_requirements_collections)
488
497
  ].join(' ')
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module Kitchen
3
3
  module Ansible
4
- VERSION = '0.56.0'.freeze
4
+ VERSION = '0.57.0'.freeze
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-ansible
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neill Turner
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2021-04-09 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rspec
@@ -116,7 +115,6 @@ homepage: https://github.com/neillturner/kitchen-ansible
116
115
  licenses:
117
116
  - Apache-2.0
118
117
  metadata: {}
119
- post_install_message:
120
118
  rdoc_options: []
121
119
  require_paths:
122
120
  - lib
@@ -131,8 +129,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
129
  - !ruby/object:Gem::Version
132
130
  version: '0'
133
131
  requirements: []
134
- rubygems_version: 3.1.4
135
- signing_key:
132
+ rubygems_version: 4.0.3
136
133
  specification_version: 4
137
134
  summary: ansible provisioner for test-kitchen
138
135
  test_files: []
136
+ ...