kitchen-ansible 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
data/kitchen-ansible.gemspec
CHANGED
@@ -354,11 +354,11 @@ module Kitchen
|
|
354
354
|
end
|
355
355
|
|
356
356
|
def ansiblefile
|
357
|
-
config[:ansiblefile_path]
|
357
|
+
config[:ansiblefile_path] || ''
|
358
358
|
end
|
359
359
|
|
360
360
|
def galaxy_requirements
|
361
|
-
config[:requirements_path]
|
361
|
+
config[:requirements_path] || nil
|
362
362
|
end
|
363
363
|
|
364
364
|
def playbook
|
@@ -487,7 +487,7 @@ module Kitchen
|
|
487
487
|
info('Preparing ansible.cfg file')
|
488
488
|
ansible_config_file = "#{File.join(sandbox_path, 'ansible.cfg')}"
|
489
489
|
if config[:roles_path].nil?
|
490
|
-
info('No roles
|
490
|
+
info('No roles have been set. empty ansible.cfg generated')
|
491
491
|
File.open(ansible_config_file, "wb") do |file|
|
492
492
|
file.write("#no roles path specified\n")
|
493
493
|
end
|
@@ -507,7 +507,7 @@ module Kitchen
|
|
507
507
|
info('Preparing hosts file')
|
508
508
|
|
509
509
|
if config[:hosts].nil?
|
510
|
-
raise 'No hosts
|
510
|
+
raise 'No hosts have been set. Please specify one in .kitchen.yml'
|
511
511
|
else
|
512
512
|
debug("Using host from #{hosts}")
|
513
513
|
File.open(File.join(sandbox_path, "hosts"), "wb") do |file|
|
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.
|
4
|
+
version: 0.0.12
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,8 +9,56 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
13
|
-
dependencies:
|
12
|
+
date: 2015-04-22 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: test-kitchen
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rspec
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: pry
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
14
62
|
description: ! '== DESCRIPTION:
|
15
63
|
|
16
64
|
|