kitchen-ansible 0.48.3 → 0.48.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- 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: 3688507db6bfb39a4b8473dbe353af17441cf480
|
4
|
+
data.tar.gz: cb21761c9b8b82a05c1086f18dd1fb84a730d2e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a300faad4e3d8b788d259ae38c703702234c3f804b96e8dca8c0b078dc5affbc775bff87db8da288d7bc46b30961729b5cc7bfa3d81f00edfaba5bbb3db6f39f
|
7
|
+
data.tar.gz: 182c803f796e192eab986014bf9658f6238631917b937ad1b7e5765a721ceaaadece62c0ba8be603faa92c2f1781a780d92a2fd2d4b8fcbf4d49e1b7f033ee85
|
@@ -419,7 +419,7 @@ module Kitchen
|
|
419
419
|
"#{File.join(config[:root_path], File.basename(config[:playbook]))}"
|
420
420
|
].join(' ')
|
421
421
|
if config[:idempotency_test]
|
422
|
-
result = "#{result} && (echo 'Going to invoke ansible-playbook second time:'; #{result} | tee /tmp/idempotency_test.txt; grep -
|
422
|
+
result = "#{result} && (echo 'Going to invoke ansible-playbook second time:'; #{result} | tee /tmp/idempotency_test.txt; if grep -qE 'changed=[1-9].*failed=|changed=.*failed=[1-9]' /tmp/idempotency_test.txt; then echo 'Idempotence test: FAIL' && exit 1; else echo 'Idempotence test: PASS' && exit 0; fi)"
|
423
423
|
end
|
424
424
|
if config[:custom_post_play_command]
|
425
425
|
custom_post_play_trap = <<-TRAP
|
@@ -524,7 +524,7 @@ module Kitchen
|
|
524
524
|
#{sudo_env('zypper')} --non-interactive install python python-devel git python-setuptools python-pip python-six libyaml-devel libffi-devel libopenssl-devel > #{detect_debug}
|
525
525
|
else
|
526
526
|
#{update_packages_debian_cmd} > #{detect_debug}
|
527
|
-
#{sudo_env('apt-get')} -y install git python python-setuptools build-essential python-dev libffi-dev libssl-dev > #{detect_debug}
|
527
|
+
#{sudo_env('apt-get')} -y install git python python-pip python-setuptools build-essential python-dev libffi-dev libssl-dev > #{detect_debug}
|
528
528
|
fi
|
529
529
|
fi
|
530
530
|
|
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.48.
|
4
|
+
version: 0.48.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neill Turner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|