ansible-powerplay 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.semver +1 -1
- data/ansible-powerplay.gemspec +2 -2
- data/lib/ansible-powerplay/cli.rb +1 -1
- data/lib/ansible-powerplay/dsl.rb +4 -0
- data/lib/ansible-powerplay/powerplay.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1deb223eef8d93151294357c9d2ace6207b418a1
|
4
|
+
data.tar.gz: fb307a3f0392d6700ec79291c66b511fccc992d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3009f3ce965b67f6f60c44fe4b77322934b7413f04c27de5fdcf3d72bf602143d63a488180039fbfadacdad4cbf77eb42c9cf1a51013c910666c8779b81489dc
|
7
|
+
data.tar.gz: efc8f8b9683f9edc5f82916c4ecd7a9534b887343783a1d810440b0361bd784563277da3fd4debbe49d4d28c2d3bcbd85a91a06875d56f7efd1ee02f44b39313
|
data/.semver
CHANGED
data/ansible-powerplay.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: ansible-powerplay 0.0.
|
5
|
+
# stub: ansible-powerplay 0.0.8 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "ansible-powerplay"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.8"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
@@ -23,7 +23,7 @@ module Powerplay
|
|
23
23
|
DSL::_global[:options] = options
|
24
24
|
puts "script %s " % [script] if DSL::_global[:options][:verbose] >= 1
|
25
25
|
load script, true
|
26
|
-
pp DSL::_global if DSL::
|
26
|
+
pp DSL::_global if DSL::_verbosity >= 3
|
27
27
|
Play::Ansible::power_run
|
28
28
|
end
|
29
29
|
|
@@ -26,6 +26,7 @@ module Powerplay
|
|
26
26
|
.split(",")
|
27
27
|
.map{ |s| s.strip.sub(/\\n|\"/, '') }
|
28
28
|
.reject{ |pty| pty == %x(tty).chop }
|
29
|
+
.reject{ |pty| pty == '' }
|
29
30
|
else
|
30
31
|
[Play::DEFOUT]
|
31
32
|
end
|
@@ -70,6 +71,7 @@ module Powerplay
|
|
70
71
|
errors = []
|
71
72
|
group.books.zip(Tmux.pane_ptys) do |book, tty|
|
72
73
|
tty ||= Tmux.pane_ptys.last
|
74
|
+
puts " tty == #{tty} (#{Tmux.pane_ptys.last})" unless DSL::_verbosity < 2
|
73
75
|
if buch == :all or book.type == buch
|
74
76
|
puts " BOOK #{book.type}"
|
75
77
|
inv = if book.config.member? :inventory
|