kitchen-ansiblepush 0.3.4 → 0.3.5
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 +4 -4
- data/README.md +1 -1
- data/bin/kitchen-ansible-inventory +5 -0
- data/lib/kitchen-ansible/version.rb +1 -1
- data/lib/kitchen/provisioner/ansible_push.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: f2e12072dcae81c81afb9388535fdeeef2846d12
|
|
4
|
+
data.tar.gz: 0099b69a7fb1d2f614ee69ccef084a14950ca867
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 35bcaa476ac4b818bc7c12fa148a460aeda47c47e93159c01c928792166fb73be2881ab01cd60f3271712cc97da8b2718057fa9af571c0af2a06cd7675b823ca
|
|
7
|
+
data.tar.gz: 6d31523f1c82aa7e2306620ea81ad24b0ade2a8962fd2b806a1f54c6798f9b9544bdd8fbb7764393095402684033091c5f9bdcdb662e6081de360c309534b094
|
data/README.md
CHANGED
|
@@ -34,7 +34,7 @@ provisioner :
|
|
|
34
34
|
ansible_config : "/path/to/ansible/ansible.cfg" # path to ansible config file
|
|
35
35
|
verbose : "vvvv" # verbose level v, vv, vvv, vvvv
|
|
36
36
|
diff : true # print file diff
|
|
37
|
-
mygroup : "web" # ansible group
|
|
37
|
+
mygroup : "web" # ansible group, or list of groups
|
|
38
38
|
raw_arguments : "--timeout=200"
|
|
39
39
|
extra_vars : "@vars.yml"
|
|
40
40
|
tags : [ "that", "this" ]
|
|
@@ -22,6 +22,11 @@ Dir.glob(TEMP_INV_DIR + '/ansiblepush_host_*.yml') do |inv_yml|
|
|
|
22
22
|
elsif host_attr["mygroup"].kind_of?(String)
|
|
23
23
|
groups[host_attr["mygroup"]] ||= []
|
|
24
24
|
groups[host_attr["mygroup"]] << host
|
|
25
|
+
elsif host_attr["mygroup"].kind_of?(Array)
|
|
26
|
+
host_attr["mygroup"].each do | group |
|
|
27
|
+
groups[group] ||= []
|
|
28
|
+
groups[group] << host
|
|
29
|
+
end
|
|
25
30
|
end
|
|
26
31
|
end
|
|
27
32
|
host_attr.delete("mygroup")
|
|
@@ -58,7 +58,7 @@ module Kitchen
|
|
|
58
58
|
#{Util.shell_helpers}
|
|
59
59
|
if [ ! -d "/opt/chef" ]
|
|
60
60
|
then
|
|
61
|
-
echo "-----> Installing Chef Omnibus"
|
|
61
|
+
echo "-----> Installing Chef Omnibus needed by busser and serverspec"
|
|
62
62
|
mkdir -p #{omnibus_download_dir}
|
|
63
63
|
if [ ! -x #{omnibus_download_dir}/install.sh ]
|
|
64
64
|
then
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kitchen-ansiblepush
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Adham Helal
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-07-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-kitchen
|