ansible_spec 0.2.21 → 0.2.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/ansible_spec/version.rb +1 -1
- data/lib/src/spec/spec_helper.rb +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c7c2e8e332c8081556cb66d7f6fbdd97fe61248
|
4
|
+
data.tar.gz: a8350998cdbf812f4b148ff45fd4904e1c56354f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffc9bc8b58c2adb1a335e21ec9454d92706ae8c74b9db3b99cce12a52b6aa79f9cf8600cb0f6496b5a68f17fd2278dd8183424b317448c14bade7faf9aab3074
|
7
|
+
data.tar.gz: 8766b40e4bfb60f1d5c3b61f0f78ed34b3d29d023622bd530f3d1f386e1d3ae193c52205c04b96575e1355f67176452b2024a942362e27f040e576076f4f73bb
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
# v0.2.22
|
2
|
+
- Merge [#111 fix sudo directive for after Ansible 1.9](https://github.com/volanja/ansible_spec/pull/111) by [katsuhisa91](https://github.com/katsuhisa91)
|
3
|
+
|
1
4
|
# v0.2.21
|
2
5
|
- Merge [#103 Parse the full included playbook](https://github.com/volanja/ansible_spec/pull/103) by [agx](https://github.com/agx)
|
3
6
|
|
data/lib/ansible_spec/version.rb
CHANGED
data/lib/src/spec/spec_helper.rb
CHANGED
@@ -23,15 +23,15 @@ when 'ssh'
|
|
23
23
|
#
|
24
24
|
set :backend, :ssh
|
25
25
|
|
26
|
-
if ENV['
|
26
|
+
if ENV['ASK_BECOME_PASSWORD']
|
27
27
|
begin
|
28
28
|
require 'highline/import'
|
29
29
|
rescue LoadError
|
30
30
|
fail "highline is not available. Try installing it."
|
31
31
|
end
|
32
|
-
set :
|
32
|
+
set :become_password, ask("Enter become password: ") { |q| q.echo = false }
|
33
33
|
else
|
34
|
-
set :
|
34
|
+
set :become_password, ENV['BECOME_PASSWORD']
|
35
35
|
end
|
36
36
|
|
37
37
|
unless ssh_config_file
|
@@ -47,8 +47,8 @@ when 'ssh'
|
|
47
47
|
set :host, options[:host_name] || host
|
48
48
|
set :ssh_options, options
|
49
49
|
|
50
|
-
# Disable
|
51
|
-
# set :
|
50
|
+
# Disable become
|
51
|
+
# set :become, false
|
52
52
|
|
53
53
|
|
54
54
|
# Set environment variables
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ansible_spec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- volanja
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|