kitchen-ansible 0.45.3 → 0.45.4
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: e8c5380fe9e1ad20a849fa4160b1d74ca479d79e
|
|
4
|
+
data.tar.gz: 52240f3ae11fc57b9d6a2b3d44825a077c26fff3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a316c4eb405e6e85d41b517a4f4e3f4a7a0581e43de45fd908ad9d1df85f668aaf0b3c724cb4b43b9c3fcb1151317659a539e2676b96ce8d0c8865b9567acc2
|
|
7
|
+
data.tar.gz: c468db5a389d23d56da76ee84d7791b656293958622b234b64c782f38a0a15f13fb42aae435625df3ad62f8a26f5ceb1b5b15fd59d5e2965b840224deefee22a
|
|
@@ -75,6 +75,7 @@ module Kitchen
|
|
|
75
75
|
default_config :ansible_limit, nil
|
|
76
76
|
default_config :ignore_paths_from_root, []
|
|
77
77
|
default_config :role_name, nil
|
|
78
|
+
default_config :additional_copy_role_path, false
|
|
78
79
|
|
|
79
80
|
default_config :playbook do |provisioner|
|
|
80
81
|
provisioner.calculate_path('default.yml', :file) ||
|
|
@@ -805,8 +805,10 @@ module Kitchen
|
|
|
805
805
|
def ansible_roles_path
|
|
806
806
|
roles_paths = []
|
|
807
807
|
roles_paths << File.join(config[:root_path], 'roles') unless config[:roles_path].nil?
|
|
808
|
-
|
|
809
|
-
|
|
808
|
+
if config[:additional_copy_role_path]
|
|
809
|
+
additional_files.each do |additional_file|
|
|
810
|
+
roles_paths << File.join(config[:root_path], File.basename(additional_file))
|
|
811
|
+
end
|
|
810
812
|
end
|
|
811
813
|
if roles_paths.empty?
|
|
812
814
|
info('No roles have been set.')
|
data/provisioner_options.md
CHANGED
|
@@ -14,11 +14,11 @@ It installs it in the following order:
|
|
|
14
14
|
|
|
15
15
|
* if require_pip is set to true
|
|
16
16
|
|
|
17
|
-
Install require packages and then installs ansible using the python pip command
|
|
17
|
+
Install require packages and then installs ansible using the python pip command and ansible version must be specified. This allows a specific version of ansible to be installed.
|
|
18
18
|
|
|
19
19
|
* if require_ansible_repo is set to true (the default)
|
|
20
20
|
|
|
21
|
-
Installs from the operation system repository with the ansible version that is in the particular repository and will use the ansible_version in the package name where appropriate.
|
|
21
|
+
Installs from the operation system repository only with the ansible version that is in the particular repository and will use the ansible_version in the package name where appropriate.
|
|
22
22
|
|
|
23
23
|
# Provisioner Options
|
|
24
24
|
|
|
@@ -27,6 +27,7 @@ kitchen-ansible runs the ansible playbook command http://linux.die.net/man/1/ans
|
|
|
27
27
|
key | default value | Notes
|
|
28
28
|
----|---------------|--------
|
|
29
29
|
additional_copy_path | | Arbitrary array of files and directories to copy into test environment, relative to the current dir, e.g. vars or included playbooks
|
|
30
|
+
additional_copy_role_path | false | additional_copy_path directories are appended to the ANSIBLE_ROLES_PATH env var when running ansible
|
|
30
31
|
ansible_apt_repo | ppa:ansible/ansible | `apt` repo; see `https://launchpad.net` `/~ansible/+archive/ubuntu/ansible` or `rquillo/ansible`
|
|
31
32
|
ansible_binary_path | NULL | If specified this will override the location where `kitchen` tries to run `ansible-playbook` from, i.e. `ansible_binary_path: /usr/local/bin`
|
|
32
33
|
ansible_check | false | Sets the `--check` flag when running Ansible
|
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.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: 2016-
|
|
11
|
+
date: 2016-09-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-kitchen
|