kitchen-ansible 0.46.5 → 0.46.6
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 +6 -3
- 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: 2a7fcd96426d283605167691a5415456a5b457ba
|
4
|
+
data.tar.gz: 0bffecdbcbcd84f91728db125f9ec9c262b2d9fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f0ce123e2e1bf2a96e8cadb517ae7d5703497db477064e9c8d857fef13509138144cf828f218e5e0bf86dfc019fe7bde936c75873818a0331641ca95e6e9603
|
7
|
+
data.tar.gz: f54ff1cdce42952a088f4ba34f20f98c1bd0427abff6a52a9460cba232c62f57af38ca9ccb88208d40acfbaaf30f90bc61a326651e9335fa2c269da6b1830bcc
|
@@ -493,11 +493,14 @@ module Kitchen
|
|
493
493
|
end
|
494
494
|
|
495
495
|
def install_ansible_from_pip_command
|
496
|
-
ansible_version
|
497
|
-
|
496
|
+
if config[:ansible_version]=='latest' or config[:ansible_version].nil?
|
497
|
+
ansible_version = ''
|
498
|
+
else
|
499
|
+
ansible_version = "==#{config[:ansible_version]}"
|
500
|
+
end
|
498
501
|
|
499
502
|
<<-INSTALL
|
500
|
-
if [ !
|
503
|
+
if [ ! $(which ansible) ]; then
|
501
504
|
if [ -f /etc/centos-release ] || [ -f /etc/redhat-release ]; then
|
502
505
|
#{Kitchen::Provisioner::Ansible::Os::Redhat.new('redhat', config).install_epel_repo}
|
503
506
|
#{update_packages_redhat_cmd}
|
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.46.
|
4
|
+
version: 0.46.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neill Turner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-kitchen
|