kitchen-ansible 0.0.37 → 0.0.38

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: 1f09fb99f43579de9d4bd99f7255cdcf43736c15
4
- data.tar.gz: 062fec9be67fa206a6308f667c46d18109d586bc
3
+ metadata.gz: 2f422d75ddb64f559d4e72b3743f804bfd42811a
4
+ data.tar.gz: 5e5e37babc96b86a42603cb1c68fe199db6f0dab
5
5
  SHA512:
6
- metadata.gz: 5e4442e64dcd026461e2eba9a7ee8233c13aa57207ce193c42b4f66cd0c79bd215f38be9a15aecdb615d7bd9c425459283dab1e64e3fbee3c019462d7530773d
7
- data.tar.gz: cc31c784af3850672b0bf19149c1ee106631569ceb2da9ad40a632788a982e5909f82543b06a7e6fcf2bc55934d2e177de462839eddf6d80bb2e951dd0f1b648
6
+ metadata.gz: dc5b43fb8f86636599610b826f8f0ab6e4b957ca16e2ef430a57f5e6caf7450f8fd28d2814e06bd577907b307bd596152794b5166a27ad6a7a2989bb9f24a1d3
7
+ data.tar.gz: 25b2b7b372f529bebb63a50f29127edfe7acab14f17a428dbce19afbd679c51716ea0d4494ee8fe37bd850d8eac86479b773187c24f516befe5dae62935338c2
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module Kitchen
3
3
  module Ansible
4
- VERSION = '0.0.37'
4
+ VERSION = '0.0.38'
5
5
  end
6
6
  end
@@ -25,6 +25,10 @@ module Kitchen
25
25
  def update_packages_command
26
26
  @config[:update_package_repos] ? "#{sudo_env('apt-get')} update" : nil
27
27
  end
28
+
29
+ def ansible_debian_version
30
+ @config[:ansible_version] ? "=#{@config[:ansible_version]}" : nil
31
+ end
28
32
 
29
33
  def install_command
30
34
  <<-INSTALL
@@ -49,7 +53,7 @@ module Kitchen
49
53
  ## "add-apt-repository: error: no such option: -y" is returned but is ok to ignore, we just retry
50
54
  #{sudo_env('add-apt-repository')} -y #{@config[:ansible_apt_repo]} || #{sudo_env('add-apt-repository')} #{@config[:ansible_apt_repo]}
51
55
  #{sudo_env('apt-get')} update
52
- #{sudo_env('apt-get')} -y install ansible
56
+ #{sudo_env('apt-get')} -y install ansible#{ansible_debian_version}
53
57
  fi
54
58
  INSTALL
55
59
  end
@@ -508,10 +508,6 @@ module Kitchen
508
508
  config[:ansible_inventory_file]
509
509
  end
510
510
 
511
- def ansible_debian_version
512
- config[:ansible_version] ? "=#{config[:ansible_version]}" : nil
513
- end
514
-
515
511
  def ansible_verbose_flag
516
512
  config[:ansible_verbose] ? '-' << ('v' * verbosity_level(config[:ansible_verbosity])) : nil
517
513
  end
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.0.37
4
+ version: 0.0.38
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-01-23 00:00:00.000000000 Z
11
+ date: 2016-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen