kitchen-ansible 0.48.6 → 0.48.7

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: 2aacf7ab5b66aab2f5605e8dd601fed542f3331c
4
- data.tar.gz: 0c65375cbe9d589d27be5aa0e62bb9bfd0b3dab1
3
+ metadata.gz: aeeb31c686df588e1ebd507c39474dee207b7038
4
+ data.tar.gz: 95a93b193c27b512e1b3ec805b03e4df6c961844
5
5
  SHA512:
6
- metadata.gz: ea700d4d1670ef5f7f1ce80712ea99e3951eade045a393aa8966efc68cab5bda0ad1d384606d2b5ea188cfa5fcb5cc8ef92820e62e539ec78f08c3322c533f94
7
- data.tar.gz: ab1ca6713358784aed798462f2c6acf6937c587a465d97ba4e549d2d01bd5b9b468219b8fa80c70eca2d62a4760f10725fc889d19d085e6f5456152caa3fd9e3
6
+ metadata.gz: 10f8f7bfc521299e2e114bb830897ceaa17dec1937c4278cef5087691de9042ba2fce6aea8a4ad7f0e47395e3718a46251e992b13570953475a6df4a441c8167
7
+ data.tar.gz: c6088fc86d1901c9e7d664f3289ea0db4771af222b3a9fd6720945c2d79ebdb6f0cfa84760a1a5bf675a2cc9b73eb8693a09282363e19b56f01791ed36def8d7
data/README.md CHANGED
@@ -35,7 +35,8 @@ gem install kitchen-vagrant
35
35
 
36
36
  ## Resources
37
37
  * https://blog.superk.org/home/ansible-role-development
38
- * http://razorconsulting.com.au/integration-testing-using-ansible-and-test-kitchen.html
38
+ * https://alexharv074.github.io/2016/05/25/testing-an-ansible-role-using-test-kitchen.html
39
+ * https://alexharv074.github.io/2016/06/13/integration-testing-using-ansible-and-test-kitchen.html
39
40
  * https://github.com/MattHodge/ansible-testkitchen-windows
40
41
  * https://readme.fr/continuous-integration-for-ansible/
41
42
  * https://dantehranian.wordpress.com/2015/06/18/testing-ansible-roles-with-test-kitchen
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module Kitchen
3
3
  module Ansible
4
- VERSION = '0.48.6'.freeze
4
+ VERSION = '0.48.7'.freeze
5
5
  end
6
6
  end
@@ -89,6 +89,7 @@ module Kitchen
89
89
  default_config :custom_post_play_command, nil
90
90
  default_config :show_command_output, false
91
91
  default_config :ignore_ansible_cfg, false
92
+ default_config :galaxy_ignore_certs, false
92
93
 
93
94
  default_config :playbook do |provisioner|
94
95
  provisioner.calculate_path('default.yml', :file) ||
@@ -458,6 +458,7 @@ module Kitchen
458
458
  def ansible_galaxy_command
459
459
  cmd = [
460
460
  'ansible-galaxy', 'install', '--force',
461
+ galaxy_cert_ignore,
461
462
  '-p', File.join(config[:root_path], 'roles'),
462
463
  '-r', File.join(config[:root_path], galaxy_requirements)
463
464
  ].join(' ')
@@ -1216,6 +1217,11 @@ module Kitchen
1216
1217
  Ansible::Librarian.new(ansiblefile, tmp_roles_dir, logger).resolve
1217
1218
  end
1218
1219
  end
1220
+
1221
+ def galaxy_cert_ignore
1222
+ config[:galaxy_ignore_certs] ? '--ignore-certs' : nil
1223
+ end
1224
+
1219
1225
  end
1220
1226
  end
1221
1227
  end
@@ -67,6 +67,7 @@ env_vars | Hash.new | Hash to set environment variable to use with `ansible-play
67
67
  extra_vars | Hash.new | Hash to set the `extra_vars` passed to `ansible-playbook` command
68
68
  extra_vars_file | nil | file containing environment variables e.g. `private_vars/production.yml site.yml` Don't prefix with a @ sign.
69
69
  filter_plugins_path | filter_plugins | Ansible repo `filter_plugins` directory
70
+ galaxy_ignore_certs | false | Ignore certificate errors when installing roles with ansible-galaxy.
70
71
  group_vars_path | group_vars | Ansible repo group_vars directory
71
72
  host_vars_path | host_vars | Ansible repo hosts directory
72
73
  hosts | | Create Ansible hosts file for localhost with this server group or list of groups
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.48.6
4
+ version: 0.48.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neill Turner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-23 00:00:00.000000000 Z
11
+ date: 2018-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec