kitchen-ansible 0.40.0 → 0.40.1
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/os/amazon.rb +1 -0
- data/lib/kitchen/provisioner/ansible/os/debian.rb +2 -1
- data/lib/kitchen/provisioner/ansible/os/redhat.rb +1 -0
- data/lib/kitchen/provisioner/ansible/os/suse.rb +1 -0
- data/lib/kitchen/provisioner/ansible_playbook.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2da321129b9d2bddb85702ed6a61e8fdd7789b20
|
4
|
+
data.tar.gz: 630edeac9b8a0d9150215e433ce062ee3e638ed4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27d52967de43e07a633f3dd66f85e353561ed87ff62c3f8b2809f79fc10813b3d373322e500fdaf925686147c82923c3b94d10b421e85482dd6fd4df95a42bdf
|
7
|
+
data.tar.gz: 985d2162e32ea7b62023daf1e870ddeca7bbf6f0305bef65087d01f2112d4117b764bdbc2999827550ee390e83d05a5774470d0d394fe963071b49d41bb1a757
|
@@ -25,13 +25,14 @@ module Kitchen
|
|
25
25
|
def update_packages_command
|
26
26
|
@config[:update_package_repos] ? "#{sudo_env('apt-get')} update" : nil
|
27
27
|
end
|
28
|
-
|
28
|
+
|
29
29
|
def ansible_debian_version
|
30
30
|
@config[:ansible_version] ? "=#{@config[:ansible_version]}" : nil
|
31
31
|
end
|
32
32
|
|
33
33
|
def install_command
|
34
34
|
<<-INSTALL
|
35
|
+
|
35
36
|
if [ ! $(which ansible) ]; then
|
36
37
|
#{update_packages_command}
|
37
38
|
|
@@ -79,6 +79,7 @@ module Kitchen
|
|
79
79
|
else
|
80
80
|
info('Installing ansible, will try to determine platform os')
|
81
81
|
cmd = <<-INSTALL
|
82
|
+
|
82
83
|
if [ ! $(which ansible) ]; then
|
83
84
|
if [ -f /etc/centos-release ] || [ -f /etc/redhat-release ]; then
|
84
85
|
if ! [ grep -q 'Amazon Linux' /etc/system-release ]; then
|