kitchen-ansible 0.54.0 → 0.55.0
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_playbook.rb +10 -1
- data/provisioner_options.md +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b1b9ed5296c5ccc0a6c0de5ed5dffda713e3cdfd36c835d6911591a89d92c40
|
4
|
+
data.tar.gz: 39ee501a044573823c5b1bf321d15d81ce9a557446ff664c917216f54723b21f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c51f85d84585dbb8c888be34d11b877ec954de08230816767ac9754360798655b4a69f3414aebc6f415ed034dc21715ac35364ee1c0f74ad2a30343a90ab982
|
7
|
+
data.tar.gz: beecbbc16b179865e4e7123860462101857151105f8697821618f8feb21406ff241fe9dd61b4e737d64d4d4d6af7cb0471804ec0ef81eb5fdd2986df7ce8ecce
|
@@ -888,7 +888,16 @@ module Kitchen
|
|
888
888
|
|
889
889
|
def extra_vars_file
|
890
890
|
return nil if config[:extra_vars_file].nil?
|
891
|
-
bash_extra_vars =
|
891
|
+
bash_extra_vars = ''
|
892
|
+
if config[:extra_vars_file].is_a?(String)
|
893
|
+
bash_extra_vars = "-e '\@#{config[:extra_vars_file]}'"
|
894
|
+
elsif config[:extra_vars_file].is_a?(Array)
|
895
|
+
config[:extra_vars_file].each { |x|
|
896
|
+
info("Adding -e '\@#{x}'")
|
897
|
+
bash_extra_vars += " -e '\@#{x}'"
|
898
|
+
}
|
899
|
+
end
|
900
|
+
|
892
901
|
debug(bash_extra_vars)
|
893
902
|
bash_extra_vars
|
894
903
|
end
|
data/provisioner_options.md
CHANGED
@@ -72,7 +72,7 @@ custom_post_play_command | nil | Custom shell command to be used after the ansib
|
|
72
72
|
enable_yum_epel | false | Enable the `yum` EPEL repo
|
73
73
|
env_vars | Hash.new | Hash to set environment variable to use with `ansible-playbook` command
|
74
74
|
extra_vars | Hash.new | Hash to set the `extra_vars` passed to `ansible-playbook` command
|
75
|
-
extra_vars_file | nil |
|
75
|
+
extra_vars_file | nil | String containing a filename or an Array of filenames containing environment variables e.g. `private_vars/production.yml` or `[file1.yml, file2.yml]` Don't prefix with a @ sign.
|
76
76
|
filter_plugins_path | filter_plugins | Ansible repo `filter_plugins` directory
|
77
77
|
galaxy_ignore_certs | false | Ignore certificate errors when installing roles with ansible-galaxy.
|
78
78
|
group_vars_path | group_vars | Ansible repo group_vars directory
|
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.
|
4
|
+
version: 0.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neill Turner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|