kitchen-ansible 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Kitchen
2
2
  module Ansible
3
- VERSION = "0.0.9"
3
+ VERSION = "0.0.10"
4
4
  end
5
5
  end
@@ -284,6 +284,11 @@ module Kitchen
284
284
  def prepare_command
285
285
  commands = []
286
286
 
287
+ # Prevent failure when ansible package installation doesn't contain /etc/ansible
288
+ commands << [
289
+ sudo("bash -c '[ -d /etc/ansible ] || mkdir /etc/ansible'")
290
+ ]
291
+
287
292
  commands << [
288
293
  sudo('cp'),File.join(config[:root_path], 'ansible.cfg'),'/etc/ansible',
289
294
  ].join(' ')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-ansible
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: