kitchen-ansible 0.45.6 → 0.45.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -3
- data/lib/kitchen-ansible/version.rb +1 -1
- data/lib/kitchen/provisioner/ansible_playbook.rb +2 -2
- 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: b00a9674e668b86b488ce14f67da8e73374ac83f
|
4
|
+
data.tar.gz: ab54bf0e18c0f57b53a8125b11fbaec5a5d6ef88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36dcd2a544372bde6cb2c5164439a8012e9c1937e089e467f0501ad6dd40bc527b16f4e9a06c96b3cdb4e8122d0fcdadaa607aafd81fd5ae539917cdcd6ee4a2
|
7
|
+
data.tar.gz: cc42c36738d28f74e816a94b88db1a1c0dedf16e6adbd8c0c472d1d8b4350bfd6f7f9dd6655fdce01431e37c2d5295e2765a51ff2be1c06cee406a368e467279
|
data/README.md
CHANGED
@@ -50,6 +50,7 @@ provisioner:
|
|
50
50
|
require_ansible_repo: true
|
51
51
|
ansible_verbose: true
|
52
52
|
ansible_version: latest
|
53
|
+
require_chef_for_busser: false
|
53
54
|
|
54
55
|
platforms:
|
55
56
|
- name: nocm_centos-6.5
|
@@ -62,6 +63,8 @@ platforms:
|
|
62
63
|
- ['private_network', {ip: '192.168.33.11'}]
|
63
64
|
```
|
64
65
|
|
66
|
+
See example [https://github.com/neillturner/ansible_repo](https://github.com/neillturner/ansible_repo)
|
67
|
+
|
65
68
|
## Windows Support
|
66
69
|
|
67
70
|
Windows is supported by creating a linux server to run Ansible with software required to support winrm. Then the winrm connection is used to configure the windows server.
|
@@ -112,10 +115,10 @@ You save a lot of time not running working instructions.
|
|
112
115
|
## Ruby install to run Serverspec verify
|
113
116
|
|
114
117
|
By default test-kitchen installs Chef to get a Ruby version suitable to run Serverspec in the `verify` step.
|
115
|
-
|
118
|
+
kitchen-verifier-serverspec installs its own ruby version so chef or ruby is not required to verify with serverspec :
|
116
119
|
|
117
120
|
```yaml
|
118
|
-
|
121
|
+
require_chef_for_busser: false
|
119
122
|
```
|
120
123
|
And set the verifier section:
|
121
124
|
```yaml
|
@@ -147,7 +150,7 @@ By using kitchen-verifier-serverspec and the Runner ansiblespec_runner tests can
|
|
147
150
|
|
148
151
|
Serverspec uses ssh to communicate with the server to be tested and reads the Ansible playbook and inventory files to determine the hosts to test and the roles for each host.
|
149
152
|
|
150
|
-
See example [https://github.com/neillturner/
|
153
|
+
See example [https://github.com/neillturner/ansible_ansiblespec_repo](https://github.com/neillturner/ansible_ansiblespec_repo)
|
151
154
|
|
152
155
|
### Example usage to create Tomcat servers:
|
153
156
|
|
@@ -819,8 +819,8 @@ module Kitchen
|
|
819
819
|
roles_paths = []
|
820
820
|
roles_paths << File.join(config[:root_path], 'roles') unless config[:roles_path].nil?
|
821
821
|
if config[:additional_copy_role_path]
|
822
|
-
config[:
|
823
|
-
roles_paths << File.join(config[:root_path], File.basename(
|
822
|
+
config[:additional_copy_path].each do |path|
|
823
|
+
roles_paths << File.join(config[:root_path], File.basename(path))
|
824
824
|
end
|
825
825
|
end
|
826
826
|
if roles_paths.empty?
|
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neill Turner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-kitchen
|