ansible-powerplay 1.4.4 → 1.4.5

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: c2fbb386d7921cff20b72f2fdf0abe912913421f
4
- data.tar.gz: 9ff0ab743eeabacdae8985f6e0f6fe55d471ece3
3
+ metadata.gz: 7c7811c9606a64d15e12aea020c6161477b4a95f
4
+ data.tar.gz: e4da1d79cd15d13df36f1ccd30ba835b156c8ff2
5
5
  SHA512:
6
- metadata.gz: 710c67e32aa3c345dba0126538a07c1cdc924c8a3aff483694f4f9ee74817f203ea219f41632526531680bdee340513e1e8d6f304f3bb37de39cefb8c029728c
7
- data.tar.gz: 3e4dc12a42367052878a18673f9a33d37bbf9e1901c5264f62aeefa49920303d03477d6f5b1d0af087f4ec86b8cb45ca96a00b0d2d951912d102f85b3d74272e
6
+ metadata.gz: d01b59c80628e136773223f549c2a2dff5de19834acbf8034bdfafd2fa5a20264c8a3b3864dff2053f5db193e9b43011a2d4948bc8806d1fd92933add6aceb7b
7
+ data.tar.gz: 58a086ba20d018e093b21b6619897865430e11e25c55701e5367b09480bd497746bd0c4c4f091bfa20cfcbd9384370460902843076d9bffeb14f737194cbb16e
@@ -1 +1 @@
1
- 2.4.0
1
+ 2.4.1
data/.semver CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 4
4
- :patch: 4
4
+ :patch: 5
5
5
  :special: ''
@@ -3,31 +3,32 @@ GEM
3
3
  specs:
4
4
  addressable (2.4.0)
5
5
  aquarium (0.5.1)
6
- awesome_print (1.7.0)
6
+ awesome_print (1.8.0)
7
7
  binding_of_caller (0.7.2)
8
8
  debug_inspector (>= 0.0.1)
9
- builder (3.2.2)
9
+ builder (3.2.3)
10
10
  byebug (9.0.6)
11
11
  coderay (1.1.1)
12
12
  colorize (0.8.1)
13
- concurrent-ruby (1.0.4)
14
- debug_inspector (0.0.2)
13
+ concurrent-ruby (1.0.5)
14
+ debug_inspector (0.0.3)
15
15
  descendants_tracker (0.0.4)
16
16
  thread_safe (~> 0.3, >= 0.3.1)
17
- diff-lcs (1.2.5)
17
+ diff-lcs (1.3)
18
18
  docile (1.1.5)
19
19
  faraday (0.9.2)
20
20
  multipart-post (>= 1.2, < 3)
21
- ffi (1.9.14)
21
+ ffi (1.9.18)
22
22
  formatador (0.2.5)
23
23
  git (1.3.0)
24
- github_api (0.14.5)
24
+ github_api (0.17.0)
25
25
  addressable (~> 2.4.0)
26
26
  descendants_tracker (~> 0.0.4)
27
27
  faraday (~> 0.8, < 0.10)
28
28
  hashie (>= 3.4)
29
+ mime-types (>= 1.16, < 3.0)
29
30
  oauth2 (~> 1.0)
30
- guard (2.14.0)
31
+ guard (2.14.1)
31
32
  formatador (>= 0.2.4)
32
33
  listen (>= 2.7, < 4.0)
33
34
  lumberjack (~> 1.0)
@@ -38,40 +39,44 @@ GEM
38
39
  thor (>= 0.18.1)
39
40
  guard-rspec (1.2.2)
40
41
  guard (>= 1.1)
41
- hashie (3.4.6)
42
+ hashie (3.5.5)
42
43
  highline (1.7.8)
43
44
  interception (0.5)
44
- json (2.0.2)
45
- juwelier (2.3.2)
45
+ json (2.1.0)
46
+ juwelier (2.4.7)
46
47
  builder
47
- bundler (>= 1.13)
48
- git (>= 1.2.5)
48
+ bundler
49
+ git
49
50
  github_api
50
- highline (>= 1.6.15)
51
- nokogiri (>= 1.5.10)
52
- psych (~> 2.2)
51
+ highline
52
+ kamelcase (~> 0)
53
+ nokogiri
54
+ psych
53
55
  rake
54
56
  rdoc
55
- semver
57
+ semver2
56
58
  jwt (1.5.6)
59
+ kamelcase (0.0.1)
60
+ semver2 (~> 3)
57
61
  listen (3.1.5)
58
62
  rb-fsevent (~> 0.9, >= 0.9.4)
59
63
  rb-inotify (~> 0.9, >= 0.9.7)
60
64
  ruby_dep (~> 1.2)
61
- lumberjack (1.0.10)
65
+ lumberjack (1.0.12)
62
66
  method_source (0.8.2)
63
- mini_portile2 (2.1.0)
67
+ mime-types (2.99.3)
68
+ mini_portile2 (2.2.0)
64
69
  multi_json (1.12.1)
65
70
  multi_xml (0.6.0)
66
71
  multipart-post (2.0.0)
67
72
  nenv (0.3.0)
68
- nokogiri (1.7.0)
69
- mini_portile2 (~> 2.1.0)
73
+ nokogiri (1.8.0)
74
+ mini_portile2 (~> 2.2.0)
70
75
  notiffany (0.1.1)
71
76
  nenv (~> 0.1)
72
77
  shellany (~> 0.0)
73
- oauth2 (1.2.0)
74
- faraday (>= 0.8, < 0.10)
78
+ oauth2 (1.4.0)
79
+ faraday (>= 0.8, < 0.13)
75
80
  jwt (~> 1.0)
76
81
  multi_json (~> 1.3)
77
82
  multi_xml (~> 0.5)
@@ -83,58 +88,57 @@ GEM
83
88
  pry-byebug (3.4.2)
84
89
  byebug (~> 9.0)
85
90
  pry (~> 0.10)
86
- pry-doc (0.9.0)
91
+ pry-doc (0.10.0)
87
92
  pry (~> 0.9)
88
- yard (~> 0.8)
93
+ yard (~> 0.9)
89
94
  pry-remote (0.1.8)
90
95
  pry (~> 0.9)
91
96
  slop (~> 3.0)
92
- pry-rescue (1.4.4)
97
+ pry-rescue (1.4.5)
93
98
  interception (>= 0.5)
94
99
  pry
95
100
  pry-stack_explorer (0.4.9.2)
96
101
  binding_of_caller (>= 0.7)
97
102
  pry (>= 0.9.11)
98
- psych (2.2.2)
99
- queue_ding (0.1.4)
103
+ psych (2.2.4)
104
+ queue_ding (0.1.5)
100
105
  aquarium (~> 0)
101
106
  json (~> 2.0, >= 2.0.2)
102
- semver (~> 1)
103
- rack (2.0.1)
107
+ semver2 (~> 3)
108
+ rack (2.0.3)
104
109
  rake (12.0.0)
105
110
  rb-fsevent (0.9.8)
106
- rb-inotify (0.9.7)
107
- ffi (>= 0.5.0)
111
+ rb-inotify (0.9.10)
112
+ ffi (>= 0.5.0, < 2)
108
113
  rdoc (3.9.5)
109
- rspec (3.5.0)
110
- rspec-core (~> 3.5.0)
111
- rspec-expectations (~> 3.5.0)
112
- rspec-mocks (~> 3.5.0)
113
- rspec-core (3.5.4)
114
- rspec-support (~> 3.5.0)
115
- rspec-expectations (3.5.0)
114
+ rspec (3.6.0)
115
+ rspec-core (~> 3.6.0)
116
+ rspec-expectations (~> 3.6.0)
117
+ rspec-mocks (~> 3.6.0)
118
+ rspec-core (3.6.0)
119
+ rspec-support (~> 3.6.0)
120
+ rspec-expectations (3.6.0)
116
121
  diff-lcs (>= 1.2.0, < 2.0)
117
- rspec-support (~> 3.5.0)
118
- rspec-mocks (3.5.0)
122
+ rspec-support (~> 3.6.0)
123
+ rspec-mocks (3.6.0)
119
124
  diff-lcs (>= 1.2.0, < 2.0)
120
- rspec-support (~> 3.5.0)
121
- rspec-support (3.5.0)
125
+ rspec-support (~> 3.6.0)
126
+ rspec-support (3.6.0)
122
127
  ruby_dep (1.5.0)
123
- semver (1.0.1)
124
128
  semver2 (3.4.2)
125
129
  shellany (0.0.1)
126
- simplecov (0.12.0)
130
+ simplecov (0.14.1)
127
131
  docile (~> 1.1.0)
128
132
  json (>= 1.8, < 3)
129
133
  simplecov-html (~> 0.10.0)
130
- simplecov-html (0.10.0)
134
+ simplecov-html (0.10.1)
131
135
  slop (3.6.0)
132
- term-ansicolor (1.4.0)
136
+ term-ansicolor (1.6.0)
133
137
  tins (~> 1.0)
134
138
  thor (0.19.4)
135
- thread_safe (0.3.5)
136
- tins (1.13.0)
137
- yard (0.9.5)
139
+ thread_safe (0.3.6)
140
+ tins (1.14.0)
141
+ yard (0.9.9)
138
142
 
139
143
  PLATFORMS
140
144
  ruby
@@ -164,4 +168,4 @@ DEPENDENCIES
164
168
  yard (~> 0)
165
169
 
166
170
  BUNDLED WITH
167
- 1.13.6
171
+ 1.14.6
data/README.org CHANGED
@@ -1,5 +1,39 @@
1
- * Ansible Powerplay
2
-
1
+ * Ansible Powerplay :TOC_5_gh:
2
+ - [[#synopsis][Synopsis]]
3
+ - [[#release-notes][Release Notes]]
4
+ - [[#hilights][Hilights]]
5
+ - [[#dsl][DSL]]
6
+ - [[#stdout-from-ansible-playbook][STDOUT from ansible-playbook]]
7
+ - [[#group-sequence-numers][Group Sequence Numers]]
8
+ - [[#features-and-cavets][Features and Cavets]]
9
+ - [[#integration-with-tmux][Integration with TMUX]]
10
+ - [[#new-stdout-capturing-with-10x][New STDOUT capturing with 1.0.x]]
11
+ - [[#new-tmux-pane-indexing-with-130][New TMUX Pane indexing with 1.3.0]]
12
+ - [[#new-sequencing-with-14x][New Sequencing with 1.4.x]]
13
+ - [[#dsl-terminology--documentation][DSL Terminology & Documentation]]
14
+ - [[#dsl-1][DSL]]
15
+ - [[#configuration][configuration]]
16
+ - [[#playbooks][playbooks]]
17
+ - [[#group][group]]
18
+ - [[#book][book]]
19
+ - [[#installation][Installation]]
20
+ - [[#use][Use]]
21
+ - [[#dividing-up-your-specs-in-other-powerplay-files][Dividing up your specs in other PowerPlay files]]
22
+ - [[#running-powerplay][Running Powerplay]]
23
+ - [[#example-play-script][Example .play Script]]
24
+ - [[#submitting-your-example-play-scripts][Submitting your example .play scripts]]
25
+ - [[#concurrency][Concurrency]]
26
+ - [[#the-gory-details-behind-how-sync-and-async][The Gory Details behind how :sync and :async]]
27
+ - [[#nested-groups][Nested Groups]]
28
+ - [[#implemention-of-the-execution-planning-authoritative][Implemention of the Execution Planning [authoritative]]]
29
+ - [[#scenarios][Scenarios]]
30
+ - [[#contributing-to-ansible-powerplay][Contributing to ansible-powerplay]]
31
+ - [[#copyright][Copyright]]
32
+ - [[#the-junkyard][The Junkyard]]
33
+ - [[#old-execution-planning-model][Old execution planning model]]
34
+ - [[#old-tmux-option-parsing-functional][Old tmux option parsing functional]]
35
+
36
+ ** Synopsis
3
37
  #+ATTR_HTML: title="Join the chat at https://gitter.im/flajann2/ansible-powerplay"
4
38
  [[https://gitter.im/flajann2/ansible-powerplay?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge][file:https://badges.gitter.im/flajann2/ansible-powerplay.svg]]
5
39
 
@@ -38,23 +72,23 @@
38
72
  the DSL, most notably, nestable groups, and being
39
73
  able to label each group as :sync or :async.
40
74
  **** STDOUT from ansible-playbook
41
- The capture of the output from ansible-powerplay is
75
+ The capture of the output from ansible-powerplay is
42
76
  handled a bit more intelligently. If you do not specify the
43
77
  --tmux (or -m) option, all output is now currently captured
44
78
  by Powerplay and redumped to the console.
45
79
 
46
80
  Because you may still want to see the color from
47
- ansible-powerplay, you can alter ansible.cfg and
81
+ ansible-powerplay, you can alter ansible.cfg and
48
82
  add the following line:
49
83
 
50
84
  + force_color = 1
51
-
85
+
52
86
  Please see [[New STDOUT capturing with 1.0.x][New STDOUT capturing with 1.0.x]]
53
87
 
54
88
  **** Group Sequence Numers
55
89
  We now allow groups to have sequence numbers, as
56
90
  of 1.1. Basically, if you specify a sequence,
57
- the variable you designate will be assigned
91
+ the variable you designate will be assigned
58
92
  a value in each of the sequence, with the
59
93
  group re-excuted. for example:
60
94
 
@@ -64,7 +98,7 @@
64
98
  book :nat, "nat.yml"
65
99
  book :dat, "dat.yml"
66
100
  book :rat, "rat.yml"
67
- end
101
+ end
68
102
  #+end_src
69
103
 
70
104
  as you can see (in the development.play sample)
@@ -90,7 +124,7 @@
90
124
  book :nat, "nat.yml"
91
125
  book :dat, "dat.yml"
92
126
  book :rat, "rat.yml"
93
- end
127
+ end
94
128
 
95
129
  group :first, "async group without sequencing" do
96
130
  configuration do
@@ -108,10 +142,10 @@
108
142
  book :nat, "nat.yml"
109
143
  book :dat, "dat.yml"
110
144
  book :rat, "rat.yml"
111
- end
145
+ end
112
146
  #+end_src
113
147
 
114
- As you can see, the new sequencing can be quite
148
+ As you can see, the new sequencing can be quite
115
149
  succinct.
116
150
 
117
151
  ** Features and Cavets
@@ -172,7 +206,7 @@
172
206
 
173
207
  *** DSL
174
208
  The DSL is straightforward as possible,
175
- simple and elegant to allow you to write
209
+ simple and elegant to allow you to write
176
210
  your Powerplays in a DRY manner.
177
211
 
178
212
  For examples, please see the following:
@@ -194,7 +228,7 @@
194
228
 
195
229
  Note that I deliberately left a missing "elasticsearch.yml" so you
196
230
  can see how Powerplay handles the errors.
197
-
231
+
198
232
  **** configuration
199
233
  You can intersperse configuration blocks
200
234
  anywhere, and the expected nested scoping
@@ -210,7 +244,7 @@
210
244
  **** group
211
245
  A group is a collection of books or other groups
212
246
  that all execute in parallel by default.
213
- Books are required to be independent of
247
+ Books are required to be independent of
214
248
  each other. If they are not, you can set
215
249
  them up to execute serially.
216
250
 
@@ -227,7 +261,7 @@
227
261
  in, but care must be taken that no vars
228
262
  are used in a different manner than expected.
229
263
  We currently have no way of knowing which
230
- vars are needed or not, and to specifiy that
264
+ vars are needed or not, and to specifiy that
231
265
  would make the syntax messy and loose some
232
266
  of the advantages of var inheritance.
233
267
 
@@ -269,7 +303,7 @@
269
303
 
270
304
  #+BEGIN_SRC ruby
271
305
  # sṕecific configuration for :development
272
- configuration do
306
+ configuration do
273
307
  stack :development
274
308
  krell_type "t2.small"
275
309
  servers 1
@@ -277,7 +311,7 @@
277
311
  krell_disk_size 20
278
312
  end
279
313
  #+END_SRC
280
-
314
+
281
315
  The above shows Ansible variables for my
282
316
  specialiezd setup that is geared with work
283
317
  with AWS. You are free to specify any
@@ -304,7 +338,7 @@
304
338
  --extra-vars "playbook_directory=playbooks stack=development krell_type=t2.small servers=1 rolling=3 krell_disk_size=20"
305
339
  #+END_SRC
306
340
 
307
- And if our group had more book entries, as in the second
341
+ And if our group had more book entries, as in the second
308
342
  example:
309
343
 
310
344
  #+BEGIN_SRC ruby
@@ -339,14 +373,14 @@
339
373
  We mention this here for those who may not be familiar with Ruby,
340
374
  but may wish to section off your specifications thusly.
341
375
 
342
- You don't really need to know any Ruby, but it could increase
376
+ You don't really need to know any Ruby, but it could increase
343
377
  the span of what you might want to do. To get a quick taste,
344
378
  please checkout [[https://www.ruby-lang.org/en/documentation/quickstart/][Ruby in 20 Minutes]].
345
379
 
346
380
  It is also possible to leverage Ruby's metaprogramming techniques to
347
381
  create templates for your specificaitons, but at some point, as time
348
382
  allows, I may directly support this in the DSL. Please let your
349
- wishes be known to me for this and any other feature you might want to
383
+ wishes be known to me for this and any other feature you might want to
350
384
  see.
351
385
 
352
386
  *** Running Powerplay
@@ -361,7 +395,7 @@ Options:
361
395
  -v, [--verbose=[1|2|3]]
362
396
  # Default: 0
363
397
  #+END_SRC
364
- Please use the help feature to explain the subcommands and options. We
398
+ Please use the help feature to explain the subcommands and options. We
365
399
  shall be adding many more subcommands and options as our needs demands.
366
400
  If you like to see something here, please submit it as an issue on Github.
367
401
 
@@ -416,7 +450,7 @@ Description:
416
450
  #+END_SRC
417
451
 
418
452
  and go to the examples directory to find test.play.
419
-
453
+
420
454
  *** Submitting your example .play scripts
421
455
  Please feel free to do pull requests of your
422
456
  scripts or submit them to me as Gist snippets
@@ -444,7 +478,7 @@ Description:
444
478
  running jobs, or books. A "job" or a "book"
445
479
  represent an actual Ansible Playbook being
446
480
  run, or waiting to be run.
447
-
481
+
448
482
  | enqueue | deque and run 'queues' |
449
483
  |------------+------------------------|
450
484
  | sync_jobs | sync_runs |
@@ -528,7 +562,7 @@ Description:
528
562
  respond to your pull requests in a timely
529
563
  fashion as long as I am not pulling an "Atlas"
530
564
  at my current job! lol
531
-
565
+
532
566
  + Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
533
567
  + Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
534
568
  + Fork the project.
@@ -538,7 +572,7 @@ Description:
538
572
  + Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
539
573
 
540
574
  ** Copyright
541
- Copyright (c) 2016 Fred Mitchell. See
575
+ Copyright (c) 2016-2017 Fred Mitchell. See
542
576
  LICENSE.txt for further details.
543
577
 
544
578
  ** The Junkyard
@@ -585,4 +619,3 @@ Description:
585
619
  .reject{ |pty| pty == %x(tty).chop }
586
620
  .reject{ |pty| pty == '' }
587
621
  #+end_src
588
-
@@ -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 1.4.4 ruby lib
5
+ # stub: ansible-powerplay 1.4.5 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "ansible-powerplay".freeze
9
- s.version = "1.4.4"
9
+ s.version = "1.4.5"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Fred Mitchell".freeze]
14
- s.date = "2016-12-27"
14
+ s.date = "2017-06-25"
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.".freeze
16
16
  s.email = "fred.mitchell@gmx.de".freeze
17
17
  s.executables = ["powerplay".freeze, "pp".freeze]
@@ -52,7 +52,7 @@ Gem::Specification.new do |s|
52
52
  s.homepage = "http://github.com/flajann2/ansible-powerplay".freeze
53
53
  s.licenses = ["MIT".freeze]
54
54
  s.required_ruby_version = Gem::Requirement.new(">= 2.2".freeze)
55
- s.rubygems_version = "2.6.8".freeze
55
+ s.rubygems_version = "2.6.11".freeze
56
56
  s.summary = "Powerplay enables you to run Ansible playbooks in parallel.".freeze
57
57
 
58
58
  if s.respond_to? :specification_version then
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: 1.4.4
4
+ version: 1.4.5
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-12-27 00:00:00.000000000 Z
11
+ date: 2017-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -386,7 +386,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
386
386
  version: '0'
387
387
  requirements: []
388
388
  rubyforge_project:
389
- rubygems_version: 2.6.8
389
+ rubygems_version: 2.6.11
390
390
  signing_key:
391
391
  specification_version: 4
392
392
  summary: Powerplay enables you to run Ansible playbooks in parallel.