ansible-powerplay 0.2.2 → 0.2.3

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: ce738895cb1c3dc925eaeddf3bec14662d73272f
4
- data.tar.gz: 73ae04b19bbf0bfb1ad5cf4241d7530411023ffb
3
+ metadata.gz: bf2a206a05bf29499e0e3c8993fb9ba32188aaac
4
+ data.tar.gz: 04de1408e4898bd40eb15e5b6fc4276e87ce2a9b
5
5
  SHA512:
6
- metadata.gz: 57850197c68fa7cd698b7a857ef9fcf2fca65f3096cc45ab0ddc73aab2e23335e63c1616584b002cb85db24697c23f2793e4ed8bca1f0fed2af1029a97e46289
7
- data.tar.gz: 2c48c28cc41963e5cbd7bc93da2b823d04687d40692af95352a7700f618d3697ea48f89f6adba4c88462dd114b990c4b6769bc2bff3e307c1444dbc11c9ff268
6
+ metadata.gz: 0160c760466eb00cefb5e49b6d492654437715ec993408b485fa488335d7de7def5031bad7ba158e9df3fb136489b07f236122fc20bc835689bdb01ba65f8b5f
7
+ data.tar.gz: b0608b846a3bcf0f5a81cf51c1e493dee15521bdd59f92370eca8a82b57d84adb782db39633a18cd1ace96c1dba85199d4a94b8c62f205edc837a9a20671c7f2
data/.semver CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 2
4
- :patch: 2
4
+ :patch: 3
5
5
  :special: ''
data/Gemfile CHANGED
@@ -3,6 +3,7 @@ source "https://rubygems.org"
3
3
  gem 'thor', '~> 0'
4
4
  gem 'concurrent-ruby', require: 'concurrent'
5
5
  gem 'term-ansicolor'
6
+ gem 'colorize', "~> 0"
6
7
 
7
8
  group :development do
8
9
  gem "rspec", "~> 2"
data/Gemfile.lock CHANGED
@@ -7,6 +7,7 @@ GEM
7
7
  builder (3.2.2)
8
8
  byebug (8.2.2)
9
9
  coderay (1.1.1)
10
+ colorize (0.7.7)
10
11
  concurrent-ruby (1.0.1)
11
12
  debug_inspector (0.0.2)
12
13
  descendants_tracker (0.0.4)
@@ -91,7 +92,7 @@ GEM
91
92
  binding_of_caller (>= 0.7)
92
93
  pry (>= 0.9.11)
93
94
  rack (1.6.4)
94
- rake (10.5.0)
95
+ rake (11.1.1)
95
96
  rb-fsevent (0.9.7)
96
97
  rb-inotify (0.9.7)
97
98
  ffi (>= 0.5.0)
@@ -117,7 +118,7 @@ GEM
117
118
  tins (~> 1.0)
118
119
  thor (0.19.1)
119
120
  thread_safe (0.3.5)
120
- tins (1.8.2)
121
+ tins (1.9.0)
121
122
  yard (0.8.7.6)
122
123
 
123
124
  PLATFORMS
@@ -125,6 +126,7 @@ PLATFORMS
125
126
 
126
127
  DEPENDENCIES
127
128
  bundler (~> 1)
129
+ colorize (~> 0)
128
130
  concurrent-ruby
129
131
  guard (~> 2)
130
132
  guard-rspec (~> 1)
data/RELEASE_NOTES.org CHANGED
@@ -9,6 +9,7 @@
9
9
  ** Release Notes
10
10
  | Release | Feature / Bug | Description | Date |
11
11
  |---------+----------------------------------+------------------------------------------------------------------------------------+------------|
12
+ | v0.2.3 | --verbose | Will display Ansible commands on a --verbosity=1 or higher. | 2016-03-17 |
12
13
  | v0.2.2 | --tags, --skip-tags | Ansible tag support | 2016-03-07 |
13
14
  | v0.2.1 | --extra-vars | A way of passing extra vars to the Ansible playbooks. Please see the documentation | 2016-03-01 |
14
15
  | v0.2.0 | powerplay play (behavior change) | If script is not given, now defaults to 'stack.play' in the current directory. | 2016-02-29 |
@@ -2,16 +2,16 @@
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.2.2 ruby lib
5
+ # stub: ansible-powerplay 0.2.3 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "ansible-powerplay"
9
- s.version = "0.2.2"
9
+ s.version = "0.2.3"
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"]
13
13
  s.authors = ["Fred Mitchell"]
14
- s.date = "2016-03-07"
14
+ s.date = "2016-03-17"
15
15
  s.description = "Ansible Powerplay, by way of its DSL, allows you to\n specify your Ansible playbooks and their vars, and common\n vars to all, so that you can run your\n indeoendent playbooks in full parallel."
16
16
  s.email = "fred.mitchell@gmx.de"
17
17
  s.executables = ["powerplay"]
@@ -53,6 +53,7 @@ Gem::Specification.new do |s|
53
53
  s.add_runtime_dependency(%q<thor>, ["~> 0"])
54
54
  s.add_runtime_dependency(%q<concurrent-ruby>, [">= 0"])
55
55
  s.add_runtime_dependency(%q<term-ansicolor>, [">= 0"])
56
+ s.add_runtime_dependency(%q<colorize>, ["~> 0"])
56
57
  s.add_development_dependency(%q<rspec>, ["~> 2"])
57
58
  s.add_development_dependency(%q<yard>, ["~> 0"])
58
59
  s.add_development_dependency(%q<rdoc>, ["~> 3"])
@@ -72,6 +73,7 @@ Gem::Specification.new do |s|
72
73
  s.add_dependency(%q<thor>, ["~> 0"])
73
74
  s.add_dependency(%q<concurrent-ruby>, [">= 0"])
74
75
  s.add_dependency(%q<term-ansicolor>, [">= 0"])
76
+ s.add_dependency(%q<colorize>, ["~> 0"])
75
77
  s.add_dependency(%q<rspec>, ["~> 2"])
76
78
  s.add_dependency(%q<yard>, ["~> 0"])
77
79
  s.add_dependency(%q<rdoc>, ["~> 3"])
@@ -92,6 +94,7 @@ Gem::Specification.new do |s|
92
94
  s.add_dependency(%q<thor>, ["~> 0"])
93
95
  s.add_dependency(%q<concurrent-ruby>, [">= 0"])
94
96
  s.add_dependency(%q<term-ansicolor>, [">= 0"])
97
+ s.add_dependency(%q<colorize>, ["~> 0"])
95
98
  s.add_dependency(%q<rspec>, ["~> 2"])
96
99
  s.add_dependency(%q<yard>, ["~> 0"])
97
100
  s.add_dependency(%q<rdoc>, ["~> 3"])
@@ -3,5 +3,6 @@ require 'semver'
3
3
  require 'pp'
4
4
  require 'open3'
5
5
  require 'thread'
6
+ require 'colorize'
6
7
  require_relative 'ansible-powerplay/powerplay'
7
8
  require_relative 'ansible-powerplay/dsl'
@@ -91,6 +91,11 @@ module Powerplay
91
91
  end
92
92
  xxv = [extra[book.type], extra[:all]].compact.join(' ')
93
93
  apcmd = %|#{PLAYBOOK} #{OPTS} #{inv} #{book.config[:playbook_directory].first}/#{book.yaml} #{tagstr} --extra-vars "#{book.aparams} #{xxv}" >#{tty}|
94
+ unless DSL::_verbosity < 1
95
+ puts "==============================\nRunning command:"
96
+ puts "#{apcmd}".yellow
97
+ puts "------------------------------"
98
+ end
94
99
  book_threads << Thread.new {
95
100
  std, status = Open3.capture2e apcmd
96
101
  errors << [book.yaml, apcmd, std] unless status.success?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ansible-powerplay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fred Mitchell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-07 00:00:00.000000000 Z
11
+ date: 2016-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: colorize
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rspec
57
71
  requirement: !ruby/object:Gem::Requirement