qb 0.1.87 → 0.1.88
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/qb/ansible_module.rb +6 -0
- data/lib/qb/version.rb +1 -1
- data/library/stream +7 -1
- 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: 5723177f21a7a76d3c4eac339f7e87f24235f080
|
4
|
+
data.tar.gz: a39e95984a295ac9b39b1f8df157fbbb64be69ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48f81a50982b092f1f776516225a77321c15f8ab5a5060e868847356c107f2b51d9139f56eaf955ed84d656ea4f26655a050df30e1b085d8ca3d5b181b3d4f83
|
7
|
+
data.tar.gz: 35b50434cd7e57c4a57b8efea0f727238f852887d680a7c899dc8252be25495cb9f7c999da3680ea4f776efc9de07cb7f5f6910fb2620bd940e8dac0fc247eb9
|
data/lib/qb/ansible_module.rb
CHANGED
data/lib/qb/version.rb
CHANGED
data/library/stream
CHANGED
@@ -33,7 +33,13 @@ class Stream < QB::AnsibleModule
|
|
33
33
|
opts[key] = @args[key].to_sym if @args.key?(key.to_s)
|
34
34
|
}
|
35
35
|
|
36
|
-
Cmds.new(template, **opts)
|
36
|
+
cmd = Cmds.new(template, **opts)
|
37
|
+
|
38
|
+
if @args['log']
|
39
|
+
info "STREAMING #{ cmd.prepare.inspect }"
|
40
|
+
end
|
41
|
+
|
42
|
+
cmd.stream!
|
37
43
|
|
38
44
|
changed!
|
39
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.88
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nrser
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|