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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c5cfb3603dc0e590de6f8fc01c069e1e15d06c59
4
- data.tar.gz: 46bd40dfeb1db350ed3da7a4b05a25396f7932bf
3
+ metadata.gz: 1deb223eef8d93151294357c9d2ace6207b418a1
4
+ data.tar.gz: fb307a3f0392d6700ec79291c66b511fccc992d9
5
5
  SHA512:
6
- metadata.gz: 3c0fc843b9cf1c6a41ede49e8392914e6a6acab1af54f2d0712ff62eac983a691f68d15f27ca5648a4974eeee1a16323ad4bf7f96118d0d406c5ee852dddd39d
7
- data.tar.gz: 38ffe69ce84327a335130c73187c11879f98eac8d258d31e71284fad61cef3a9354389cf8c54fc6d8b3fd32113318bacfe30ec6be5b12e094bf1ece2f9a36e42
6
+ metadata.gz: 3009f3ce965b67f6f60c44fe4b77322934b7413f04c27de5fdcf3d72bf602143d63a488180039fbfadacdad4cbf77eb42c9cf1a51013c910666c8779b81489dc
7
+ data.tar.gz: efc8f8b9683f9edc5f82916c4ecd7a9534b887343783a1d810440b0361bd784563277da3fd4debbe49d4d28c2d3bcbd85a91a06875d56f7efd1ee02f44b39313
data/.semver CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 0
4
- :patch: 7
4
+ :patch: 8
5
5
  :special: ''
@@ -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.7 ruby lib
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.7"
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::_global[:options][:verbose] >= 3
26
+ pp DSL::_global if DSL::_verbosity >= 3
27
27
  Play::Ansible::power_run
28
28
  end
29
29
 
@@ -21,6 +21,10 @@ module Powerplay
21
21
  @@global_config
22
22
  end
23
23
 
24
+ def _verbosity
25
+ _global[:options][:verbose]
26
+ end
27
+
24
28
  class Dsl
25
29
  attr :config, :type, :desc
26
30
 
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ansible-powerplay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Mitchell