kitchen-ansible 0.45.8 → 0.45.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d907703110316f2176215740632fc5d1a073ecd9
|
|
4
|
+
data.tar.gz: 49b167ff1330128ea69b26cf2f501fed53caef1e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e58849bea74f7c955e9d1267e14bc80aeed15f3b79c91712026fa01337595f321df2b0c0b226c8be8fa5a379d3aa95abd220e92c0030b05d70078d840dce0cb9
|
|
7
|
+
data.tar.gz: 8ea281c01b49201870192c0723f69343db261590318f959c53b2fb7fb637d959bceb1a58c6105986d4c6af22650b00ea5472772fae4fc29f3c3b37d9931052d2
|
data/kitchen-ansible.gemspec
CHANGED
|
@@ -63,6 +63,7 @@ module Kitchen
|
|
|
63
63
|
default_config :ansible_connection, 'local'
|
|
64
64
|
default_config :update_package_repos, true
|
|
65
65
|
default_config :require_ansible_source, false
|
|
66
|
+
default_config :ansible_source_url, 'git://github.com/ansible/ansible.git'
|
|
66
67
|
default_config :ansible_source_rev, nil
|
|
67
68
|
default_config :http_proxy, nil
|
|
68
69
|
default_config :https_proxy, nil
|
|
@@ -87,7 +87,7 @@ module Kitchen
|
|
|
87
87
|
if [ ! $(which ansible) ]; then
|
|
88
88
|
if [ -f /etc/fedora-release ]; then
|
|
89
89
|
#{Kitchen::Provisioner::Ansible::Os::Fedora.new('fedora', config).install_command}
|
|
90
|
-
elif [ `grep -q 'Amazon Linux' /etc/system-release` ]; then
|
|
90
|
+
elif [ -f /etc/system-release ] && [ `grep -q 'Amazon Linux' /etc/system-release` ]; then
|
|
91
91
|
#{Kitchen::Provisioner::Ansible::Os::Amazon.new('amazon', config).install_command}
|
|
92
92
|
elif [ -f /etc/centos-release ] || [ -f /etc/redhat-release ]; then
|
|
93
93
|
#{Kitchen::Provisioner::Ansible::Os::Redhat.new('redhat', config).install_command}
|
|
@@ -452,7 +452,7 @@ module Kitchen
|
|
|
452
452
|
fi
|
|
453
453
|
|
|
454
454
|
#{export_http_proxy}
|
|
455
|
-
git clone
|
|
455
|
+
git clone #{config[:ansible_source_url]} --recursive #{config[:root_path]}/ansible #{install_source_rev}
|
|
456
456
|
#{sudo_env('easy_install')} pip
|
|
457
457
|
#{sudo_env('pip')} install -U setuptools
|
|
458
458
|
#{sudo_env('pip')} install six paramiko PyYAML Jinja2 httplib2
|
data/provisioner_options.md
CHANGED
|
@@ -43,6 +43,7 @@ ansible_omnibus_url | `https://raw.githubusercontent.com` `/neillturner/omnibus-
|
|
|
43
43
|
ansible_platform | Naively tries to determine | OS platform of server
|
|
44
44
|
ansible_playbook_command | | Override the Ansible playbook command
|
|
45
45
|
ansible_sles_repo | `http://download.opensuse.org/repositories` `/systemsmanagement/SLE_12` `/systemsmanagement.repo` | Zypper SuSE Ansible repo
|
|
46
|
+
ansible_source_url | `git://github.com/ansible/ansible.git` | Git URL of Ansible source
|
|
46
47
|
ansible_source_rev | | Branch or tag to install Ansible source
|
|
47
48
|
ansible_sudo | true | Determines whether `ansible-playbook` is executed as root or as the current authenticated user
|
|
48
49
|
ansible_vault_password_file | | Path to Ansible Vault password file
|
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.45.
|
|
4
|
+
version: 0.45.9
|
|
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-
|
|
11
|
+
date: 2017-02-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-kitchen
|
|
@@ -72,14 +72,14 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '3
|
|
75
|
+
version: '3'
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '3
|
|
82
|
+
version: '3'
|
|
83
83
|
description: |+
|
|
84
84
|
== DESCRIPTION:
|
|
85
85
|
|