kitchen-ansible 0.45.3 → 0.45.4

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: 75997b6e4caaaa22941bf9be18132a8ee9b867b1
4
- data.tar.gz: 3e15a2232e501dbc16befc1f046e7b20f48c4151
3
+ metadata.gz: e8c5380fe9e1ad20a849fa4160b1d74ca479d79e
4
+ data.tar.gz: 52240f3ae11fc57b9d6a2b3d44825a077c26fff3
5
5
  SHA512:
6
- metadata.gz: c99618b97a7cff099b4f8614c9b93248cde0b2441d12aea6b1668efb4f3024c6a07e63a37d3fc2c2cc6c990a97827430f5ca780acf306247c1f3de846f517883
7
- data.tar.gz: 91aade88a125d25fd149b7cab732bb436e661067c16fe5608f0103db2044eb35c0a8ca36368c4e60519783fb50feaef043e777a7af41f5c6bd6ea65ab229f383
6
+ metadata.gz: 0a316c4eb405e6e85d41b517a4f4e3f4a7a0581e43de45fd908ad9d1df85f668aaf0b3c724cb4b43b9c3fcb1151317659a539e2676b96ce8d0c8865b9567acc2
7
+ data.tar.gz: c468db5a389d23d56da76ee84d7791b656293958622b234b64c782f38a0a15f13fb42aae435625df3ad62f8a26f5ceb1b5b15fd59d5e2965b840224deefee22a
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module Kitchen
3
3
  module Ansible
4
- VERSION = '0.45.3'
4
+ VERSION = '0.45.4'
5
5
  end
6
6
  end
@@ -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
- additional_files.each do |additional_file|
809
- roles_paths << File.join(config[:root_path], File.basename(additional_file))
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.')
@@ -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 with ansible version if specified.
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.3
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-08-30 00:00:00.000000000 Z
11
+ date: 2016-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen