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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '0562836d4ca6d81634acd371268de770e2bc9040'
4
- data.tar.gz: f42849acf33feb44db3c62f8be4eab531e941695
3
+ metadata.gz: 3688507db6bfb39a4b8473dbe353af17441cf480
4
+ data.tar.gz: cb21761c9b8b82a05c1086f18dd1fb84a730d2e6
5
5
  SHA512:
6
- metadata.gz: 5bbccf96b0fee46bcb9732788bf7be69a9b9865bac060347a11916fdfbeac232ccf85c218395c3582687bec5f230fff8aec65f11559be94c1558207c97b809f4
7
- data.tar.gz: fdf6dd5216e34bde991ad7cd3f6635e5fefd6f89d778af3ad964be68763e4fab29a487d147510c97b3f2996b1f07ac8a1abae7be58f0dacc08777b4340509d59
6
+ metadata.gz: a300faad4e3d8b788d259ae38c703702234c3f804b96e8dca8c0b078dc5affbc775bff87db8da288d7bc46b30961729b5cc7bfa3d81f00edfaba5bbb3db6f39f
7
+ data.tar.gz: 182c803f796e192eab986014bf9658f6238631917b937ad1b7e5765a721ceaaadece62c0ba8be603faa92c2f1781a780d92a2fd2d4b8fcbf4d49e1b7f033ee85
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module Kitchen
3
3
  module Ansible
4
- VERSION = '0.48.3'.freeze
4
+ VERSION = '0.48.4'.freeze
5
5
  end
6
6
  end
@@ -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 -q 'changed=0.*failed=0' /tmp/idempotency_test.txt && (echo 'Idempotence test: PASS' && exit 0) || (echo 'Idempotence test: FAIL' && exit 1))"
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.3
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-04-18 00:00:00.000000000 Z
11
+ date: 2018-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec