ansible-powerplay 1.4.5 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/.semver +1 -1
- data/Gemfile.lock +45 -46
- data/README.org +77 -51
- data/SCRATCHPAD.org +46 -2
- data/ansible-powerplay.gemspec +4 -5
- metadata +3 -4
- data/RELEASE_NOTES.org +0 -68
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 87eccd5218e7531791b3ec67fa7cc86b660a49d1154f50d62c59c2d9b20841d7
|
4
|
+
data.tar.gz: 73051feb5d3228c36fc7a084d4413fd627e146421e6f827c0ef980756d94213f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d2b9cdaec7edb3ccb75eb63ab6cd6de92a3716032091bb0043f7bfe4f3328c7b5d3317705f9f7afe2cd7bfc307d10b0d2dbff0b34163d00b3156ff71d6b4c67
|
7
|
+
data.tar.gz: 66d388e0bfb2848f43063bb9065fba85ccf291077176b7c9f288ee2c804b94b5593b7f0765e76259da53d0589602c6890d58174aed40bb9d9a62fd33e0e9d824
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.5.0
|
data/.semver
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
addressable (2.
|
4
|
+
addressable (2.5.2)
|
5
|
+
public_suffix (>= 2.0.2, < 4.0)
|
5
6
|
aquarium (0.5.1)
|
6
7
|
awesome_print (1.8.0)
|
7
|
-
binding_of_caller (0.
|
8
|
+
binding_of_caller (0.8.0)
|
8
9
|
debug_inspector (>= 0.0.1)
|
9
10
|
builder (3.2.3)
|
10
|
-
byebug (9.0
|
11
|
-
coderay (1.1.
|
11
|
+
byebug (9.1.0)
|
12
|
+
coderay (1.1.2)
|
12
13
|
colorize (0.8.1)
|
13
14
|
concurrent-ruby (1.0.5)
|
14
15
|
debug_inspector (0.0.3)
|
@@ -16,22 +17,21 @@ GEM
|
|
16
17
|
thread_safe (~> 0.3, >= 0.3.1)
|
17
18
|
diff-lcs (1.3)
|
18
19
|
docile (1.1.5)
|
19
|
-
faraday (0.
|
20
|
+
faraday (0.12.2)
|
20
21
|
multipart-post (>= 1.2, < 3)
|
21
22
|
ffi (1.9.18)
|
22
23
|
formatador (0.2.5)
|
23
24
|
git (1.3.0)
|
24
|
-
github_api (0.
|
25
|
-
addressable (~> 2.4
|
25
|
+
github_api (0.18.2)
|
26
|
+
addressable (~> 2.4)
|
26
27
|
descendants_tracker (~> 0.0.4)
|
27
|
-
faraday (~> 0.8
|
28
|
-
hashie (>= 3.
|
29
|
-
mime-types (>= 1.16, < 3.0)
|
28
|
+
faraday (~> 0.8)
|
29
|
+
hashie (~> 3.5, >= 3.5.2)
|
30
30
|
oauth2 (~> 1.0)
|
31
|
-
guard (2.14.
|
31
|
+
guard (2.14.2)
|
32
32
|
formatador (>= 0.2.4)
|
33
33
|
listen (>= 2.7, < 4.0)
|
34
|
-
lumberjack (
|
34
|
+
lumberjack (>= 1.0.12, < 2.0)
|
35
35
|
nenv (~> 0.1)
|
36
36
|
notiffany (~> 0.0)
|
37
37
|
pry (>= 0.9.12)
|
@@ -39,8 +39,8 @@ GEM
|
|
39
39
|
thor (>= 0.18.1)
|
40
40
|
guard-rspec (1.2.2)
|
41
41
|
guard (>= 1.1)
|
42
|
-
hashie (3.5.
|
43
|
-
highline (1.7.
|
42
|
+
hashie (3.5.7)
|
43
|
+
highline (1.7.10)
|
44
44
|
interception (0.5)
|
45
45
|
json (2.1.0)
|
46
46
|
juwelier (2.4.7)
|
@@ -63,15 +63,14 @@ GEM
|
|
63
63
|
rb-inotify (~> 0.9, >= 0.9.7)
|
64
64
|
ruby_dep (~> 1.2)
|
65
65
|
lumberjack (1.0.12)
|
66
|
-
method_source (0.
|
67
|
-
|
68
|
-
|
69
|
-
multi_json (1.12.1)
|
66
|
+
method_source (0.9.0)
|
67
|
+
mini_portile2 (2.3.0)
|
68
|
+
multi_json (1.13.1)
|
70
69
|
multi_xml (0.6.0)
|
71
70
|
multipart-post (2.0.0)
|
72
71
|
nenv (0.3.0)
|
73
|
-
nokogiri (1.8.
|
74
|
-
mini_portile2 (~> 2.
|
72
|
+
nokogiri (1.8.1)
|
73
|
+
mini_portile2 (~> 2.3.0)
|
75
74
|
notiffany (0.1.1)
|
76
75
|
nenv (~> 0.1)
|
77
76
|
shellany (~> 0.0)
|
@@ -81,14 +80,13 @@ GEM
|
|
81
80
|
multi_json (~> 1.3)
|
82
81
|
multi_xml (~> 0.5)
|
83
82
|
rack (>= 1.2, < 3)
|
84
|
-
pry (0.
|
83
|
+
pry (0.11.3)
|
85
84
|
coderay (~> 1.1.0)
|
86
|
-
method_source (~> 0.
|
87
|
-
|
88
|
-
|
89
|
-
byebug (~> 9.0)
|
85
|
+
method_source (~> 0.9.0)
|
86
|
+
pry-byebug (3.5.1)
|
87
|
+
byebug (~> 9.1)
|
90
88
|
pry (~> 0.10)
|
91
|
-
pry-doc (0.
|
89
|
+
pry-doc (0.11.1)
|
92
90
|
pry (~> 0.9)
|
93
91
|
yard (~> 0.9)
|
94
92
|
pry-remote (0.1.8)
|
@@ -100,45 +98,46 @@ GEM
|
|
100
98
|
pry-stack_explorer (0.4.9.2)
|
101
99
|
binding_of_caller (>= 0.7)
|
102
100
|
pry (>= 0.9.11)
|
103
|
-
psych (
|
101
|
+
psych (3.0.2)
|
102
|
+
public_suffix (3.0.1)
|
104
103
|
queue_ding (0.1.5)
|
105
104
|
aquarium (~> 0)
|
106
105
|
json (~> 2.0, >= 2.0.2)
|
107
106
|
semver2 (~> 3)
|
108
107
|
rack (2.0.3)
|
109
|
-
rake (12.
|
110
|
-
rb-fsevent (0.
|
108
|
+
rake (12.3.0)
|
109
|
+
rb-fsevent (0.10.2)
|
111
110
|
rb-inotify (0.9.10)
|
112
111
|
ffi (>= 0.5.0, < 2)
|
113
112
|
rdoc (3.9.5)
|
114
|
-
rspec (3.
|
115
|
-
rspec-core (~> 3.
|
116
|
-
rspec-expectations (~> 3.
|
117
|
-
rspec-mocks (~> 3.
|
118
|
-
rspec-core (3.
|
119
|
-
rspec-support (~> 3.
|
120
|
-
rspec-expectations (3.
|
113
|
+
rspec (3.7.0)
|
114
|
+
rspec-core (~> 3.7.0)
|
115
|
+
rspec-expectations (~> 3.7.0)
|
116
|
+
rspec-mocks (~> 3.7.0)
|
117
|
+
rspec-core (3.7.1)
|
118
|
+
rspec-support (~> 3.7.0)
|
119
|
+
rspec-expectations (3.7.0)
|
121
120
|
diff-lcs (>= 1.2.0, < 2.0)
|
122
|
-
rspec-support (~> 3.
|
123
|
-
rspec-mocks (3.
|
121
|
+
rspec-support (~> 3.7.0)
|
122
|
+
rspec-mocks (3.7.0)
|
124
123
|
diff-lcs (>= 1.2.0, < 2.0)
|
125
|
-
rspec-support (~> 3.
|
126
|
-
rspec-support (3.
|
124
|
+
rspec-support (~> 3.7.0)
|
125
|
+
rspec-support (3.7.0)
|
127
126
|
ruby_dep (1.5.0)
|
128
127
|
semver2 (3.4.2)
|
129
128
|
shellany (0.0.1)
|
130
|
-
simplecov (0.
|
129
|
+
simplecov (0.15.1)
|
131
130
|
docile (~> 1.1.0)
|
132
131
|
json (>= 1.8, < 3)
|
133
132
|
simplecov-html (~> 0.10.0)
|
134
|
-
simplecov-html (0.10.
|
133
|
+
simplecov-html (0.10.2)
|
135
134
|
slop (3.6.0)
|
136
135
|
term-ansicolor (1.6.0)
|
137
136
|
tins (~> 1.0)
|
138
|
-
thor (0.
|
137
|
+
thor (0.20.0)
|
139
138
|
thread_safe (0.3.6)
|
140
|
-
tins (1.
|
141
|
-
yard (0.9.
|
139
|
+
tins (1.16.3)
|
140
|
+
yard (0.9.12)
|
142
141
|
|
143
142
|
PLATFORMS
|
144
143
|
ruby
|
@@ -168,4 +167,4 @@ DEPENDENCIES
|
|
168
167
|
yard (~> 0)
|
169
168
|
|
170
169
|
BUNDLED WITH
|
171
|
-
1.
|
170
|
+
1.16.1
|
data/README.org
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
* Ansible Powerplay :TOC_5_gh:
|
2
2
|
- [[#synopsis][Synopsis]]
|
3
|
-
- [[#release-notes][Release Notes]]
|
4
3
|
- [[#hilights][Hilights]]
|
5
4
|
- [[#dsl][DSL]]
|
6
5
|
- [[#stdout-from-ansible-playbook][STDOUT from ansible-playbook]]
|
@@ -27,11 +26,12 @@
|
|
27
26
|
- [[#nested-groups][Nested Groups]]
|
28
27
|
- [[#implemention-of-the-execution-planning-authoritative][Implemention of the Execution Planning [authoritative]]]
|
29
28
|
- [[#scenarios][Scenarios]]
|
29
|
+
- [[#release-notes-et-al][Release Notes, et al.]]
|
30
|
+
- [[#release-notes][Release Notes]]
|
31
|
+
- [[#known-outstanding-issues][Known Outstanding Issues]]
|
32
|
+
- [[#wish-list][Wish List]]
|
30
33
|
- [[#contributing-to-ansible-powerplay][Contributing to ansible-powerplay]]
|
31
34
|
- [[#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
35
|
|
36
36
|
** Synopsis
|
37
37
|
#+ATTR_HTML: title="Join the chat at https://gitter.im/flajann2/ansible-powerplay"
|
@@ -64,8 +64,6 @@
|
|
64
64
|
#+NAME: Powerplay Example
|
65
65
|
[[./examples/powerplay_screenshot.jpeg]]
|
66
66
|
|
67
|
-
** Release Notes
|
68
|
-
Please see [[RELEASE_NOTES.org][Release Notes]].
|
69
67
|
*** Hilights
|
70
68
|
**** DSL
|
71
69
|
The version 1.x releases adds new features to
|
@@ -557,6 +555,79 @@ Description:
|
|
557
555
|
|
558
556
|
**** TODO Scenarios
|
559
557
|
|
558
|
+
** Release Notes, et al.
|
559
|
+
With each release, we promise to make some entries here so that
|
560
|
+
you may be informed. We shall always try to maintain
|
561
|
+
backwards compability.
|
562
|
+
|
563
|
+
If something potentially affects backwards compability,
|
564
|
+
we'll bump the minor number. For "milestone" upgrades
|
565
|
+
and/or compability breaks, we'll rev the
|
566
|
+
major number. Ths is in keeping with standard Semver
|
567
|
+
practices.
|
568
|
+
|
569
|
+
*** Release Notes
|
570
|
+
| Release | Feature / Bug | Description | Date |
|
571
|
+
|---------+-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+------------|
|
572
|
+
| v1.4.5 | Bundle update, TOC to README | Nothing major here. | |
|
573
|
+
| v1.4.2 | Crashes with the -b option | Simple bug fix here | 2016-09-07 |
|
574
|
+
| v1.4.1 | Dsl.config_var, lambda | A means to extract the current config variables in the powerplay, as well as a means to do lambdas. Not recommended for use yet. | 2016-09-05 |
|
575
|
+
| v1.4.0 | --extra-vars passed as JSON, config referencing | We now convert the variables to JSON before passing to --extra-vars, and also now allow you to reference the config variables in the squence. | 2016-09-02 |
|
576
|
+
| | | Know that the -m parameter, since it is a bit more general, now requires you to put in an '=' if the string is adjacent to the -m, e.g. -m=0:2 | |
|
577
|
+
| v1.3.0 | Tmux pane numbering | Allows you to specify precisely which panes on your target window that will receive the dump. | 2016-09-01 |
|
578
|
+
| v1.1.0 | Group sequencing | Allows you to run a group multiple times with sequence numbers. | 2016-08-09 |
|
579
|
+
| v1.0.8 | --ttys | List specific terminals you'd like the output to go to. | 2016-07-07 |
|
580
|
+
| v1.0.7 | Verosity Switch --apverbose=n (-Vn) | Pass to ansible-powerplay -v, -vv, etc. | |
|
581
|
+
| v1.0.6 | Ansible Verbosity | Pass to Ansi | |
|
582
|
+
| v1.0.5 | Many bug fixes | Critical bugs all fixed. | |
|
583
|
+
| v1.0.3 | DSL book | changed the named paramer back to the normal one. | 2016-06-08 |
|
584
|
+
| v1.0.0 | version | Prints version | 2016-06-04 |
|
585
|
+
| | powerplay / pp shorthand command | Play task defaults if you use the shorthand 'pp' on the commandline | 2016-06-04 |
|
586
|
+
| | DSL incompatible changes | Nestable groups, naked books. older DSL not gauranteed to be compatable. | |
|
587
|
+
| | Internal rewrite of the execution flow | Logic for execution flow rewritten to allow fine-grained control over what is sync and async. | |
|
588
|
+
| | Internal NOOP books | We need to demarcate groups executing synchronously that they themselves have async members. | |
|
589
|
+
| v0.2.3 | --verbose | Will display Ansible commands on a --verbosity=1 or higher. | 2016-03-17 |
|
590
|
+
| v0.2.2 | --tags, --skip-tags | Ansible tag support | 2016-03-07 |
|
591
|
+
| v0.2.1 | --extra-vars | A way of passing extra vars to the Ansible playbooks. Please see the documentation | 2016-03-01 |
|
592
|
+
| v0.2.0 | powerplay play (behavior change) | If script is not given, now defaults to 'stack.play' in the current directory. | 2016-02-29 |
|
593
|
+
| v0.1.3 | --tmux | Better handling at distributing the panes. | 2016-02-26 |
|
594
|
+
| v0.1.2 | --tmux. --no-tmux | Default output now goes to current tty | 2016-02-23 |
|
595
|
+
| v0.1.1 | --book, --group, --play | Minor bug with the array handling | 2016-02-22 |
|
596
|
+
| v0.1.0 | --book, --group, --play | Now each can take multiple specifications | 2016-02-22 |
|
597
|
+
| v0.0.8 | Creation of these Release Notes | About bloody time. The prior releases were all mostly bug fixes, and so... | 2016-02-20 |
|
598
|
+
| | --tmux | Now you can optionally specify the window number | |
|
599
|
+
| | --tmux | Now checks to ensure it does not dump to its own pane | |
|
600
|
+
| | --book | You can select an individual playbook to run | |
|
601
|
+
| | --group | You can select an individual group to run | |
|
602
|
+
|
603
|
+
*** Known Outstanding Issues
|
604
|
+
Bugs and missing features that needs to be addressed. As they are,
|
605
|
+
we'll remove them from this list.
|
606
|
+
|
607
|
+
| Date | Issue | Description |
|
608
|
+
|------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------|
|
609
|
+
| 2016-06-07 | execution planning dump (-v2) and -b | When using -b to select an individual book, the execution planning does not reflect this filtration. |
|
610
|
+
| 2016-06-05 | version | Command does not work properly. It hangs. |
|
611
|
+
| 2016-04-07 | --extra-vars | Powerplay duplicates keys on extra vars if already specified in the Powerplay. |
|
612
|
+
| 2016-03-11 | Grouping | Groups executes in parallel instead of serially. |
|
613
|
+
| | Core | Core process flow needs to be redone. |
|
614
|
+
| 2016-03-03 | Status dump out of order | Currently a bit out of order due to the fact that the output are being run in different threads and so the text is being printed nondeterministically. |
|
615
|
+
| 2016-02-20 | Platforms other than Linux | We need to test on Mac OSX and Windows. Should work fine on Macs. I do not plan to support Windows in general, but may accept pull requests to that end. |
|
616
|
+
| | | |
|
617
|
+
|
618
|
+
*** Wish List
|
619
|
+
Well, we can always wish upon a star... but it will take
|
620
|
+
my time and dedication to make stars happen. :p
|
621
|
+
|
622
|
+
| Date | Wish | Description |
|
623
|
+
|------------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
624
|
+
| 2016-09-02 | Handle --ask-pass | A user requested this, and will be addressed shortly. |
|
625
|
+
| 2016-02-20 | Integration with Jenkins | I have no idea what form this will take |
|
626
|
+
| | Curses integration | Basically, the tmux integration is used because it was quick to do. But what I really want to do is full Curses support, similar with what you see with htop and other tools. |
|
627
|
+
| 2016-02-26 | Better and Error handling | When there's a failure in the underlying Ansible playbook, we want to handle that better in Powerplay. This would be a part of the Curses upgrade to come later. |
|
628
|
+
| 2016-02-29 | Configuration file | Add a (presumably yaml format) configuration file in a few key locations. |
|
629
|
+
| | Name Completion | Shell integration with name completion features of bash. |
|
630
|
+
|
560
631
|
** Contributing to ansible-powerplay
|
561
632
|
Your parcipitation is welcome, and I will
|
562
633
|
respond to your pull requests in a timely
|
@@ -574,48 +645,3 @@ Description:
|
|
574
645
|
** Copyright
|
575
646
|
Copyright (c) 2016-2017 Fred Mitchell. See
|
576
647
|
LICENSE.txt for further details.
|
577
|
-
|
578
|
-
** The Junkyard
|
579
|
-
This area should be ignored, just a place
|
580
|
-
for me to keep old snippets of code and other
|
581
|
-
notes that will be of relevance to no one else.
|
582
|
-
*** Old execution planning model
|
583
|
-
#+begin_src ruby
|
584
|
-
# old code and will be deleted
|
585
|
-
playbooks do |pname, playbook|
|
586
|
-
group_threads = []
|
587
|
-
puts "PLAYBOOK #{pname} (group=#{Play::clopts[:group]}) -->"
|
588
|
-
groups playbook do |group|
|
589
|
-
tg = nil
|
590
|
-
group_threads << (tg = Thread.new {
|
591
|
-
puts " GROUP #{group.type} (book=#{bucher}, cg=#{congroups}) -->"
|
592
|
-
book_threads = []
|
593
|
-
errors = []
|
594
|
-
group.books.each { |book| get_book_apcmd(book, bucher, book_threads, errors) }
|
595
|
-
book_threads.each{ |t| t.join }
|
596
|
-
unless errors.empty?
|
597
|
-
errors.each do |yaml, cmd, txt|
|
598
|
-
puts '=' * 30
|
599
|
-
puts ('*' * 10) + ' ' + yaml
|
600
|
-
puts txt
|
601
|
-
puts '-' * 30
|
602
|
-
puts cmd
|
603
|
-
end
|
604
|
-
exit 10
|
605
|
-
end
|
606
|
-
})
|
607
|
-
# Always wait here unless we're concurrent
|
608
|
-
group_threads.join unless congroups
|
609
|
-
end
|
610
|
-
group_threads.each{ |t| t.join }
|
611
|
-
end
|
612
|
-
#+end_src
|
613
|
-
*** Old tmux option parsing functional
|
614
|
-
#+begin_src ruby
|
615
|
-
.inspect
|
616
|
-
.chop
|
617
|
-
.split(",")
|
618
|
-
.map{ |s| s.strip.sub(/\\n|\"/, '') }
|
619
|
-
.reject{ |pty| pty == %x(tty).chop }
|
620
|
-
.reject{ |pty| pty == '' }
|
621
|
-
#+end_src
|
data/SCRATCHPAD.org
CHANGED
@@ -4,15 +4,59 @@
|
|
4
4
|
as it is not gauranteed to make sense to you
|
5
5
|
or to be kept up to date.
|
6
6
|
|
7
|
+
** The Junkyard
|
8
|
+
This area should be ignored, just a place
|
9
|
+
for me to keep old snippets of code and other
|
10
|
+
notes that will be of relevance to no one else.
|
11
|
+
*** Old execution planning model
|
12
|
+
#+begin_src ruby
|
13
|
+
# old code and will be deleted
|
14
|
+
playbooks do |pname, playbook|
|
15
|
+
group_threads = []
|
16
|
+
puts "PLAYBOOK #{pname} (group=#{Play::clopts[:group]}) -->"
|
17
|
+
groups playbook do |group|
|
18
|
+
tg = nil
|
19
|
+
group_threads << (tg = Thread.new {
|
20
|
+
puts " GROUP #{group.type} (book=#{bucher}, cg=#{congroups}) -->"
|
21
|
+
book_threads = []
|
22
|
+
errors = []
|
23
|
+
group.books.each { |book| get_book_apcmd(book, bucher, book_threads, errors) }
|
24
|
+
book_threads.each{ |t| t.join }
|
25
|
+
unless errors.empty?
|
26
|
+
errors.each do |yaml, cmd, txt|
|
27
|
+
puts '=' * 30
|
28
|
+
puts ('*' * 10) + ' ' + yaml
|
29
|
+
puts txt
|
30
|
+
puts '-' * 30
|
31
|
+
puts cmd
|
32
|
+
end
|
33
|
+
exit 10
|
34
|
+
end
|
35
|
+
})
|
36
|
+
# Always wait here unless we're concurrent
|
37
|
+
group_threads.join unless congroups
|
38
|
+
end
|
39
|
+
group_threads.each{ |t| t.join }
|
40
|
+
end
|
41
|
+
#+end_src
|
42
|
+
*** Old tmux option parsing functional
|
43
|
+
#+begin_src ruby
|
44
|
+
.inspect
|
45
|
+
.chop
|
46
|
+
.split(",")
|
47
|
+
.map{ |s| s.strip.sub(/\\n|\"/, '') }
|
48
|
+
.reject{ |pty| pty == %x(tty).chop }
|
49
|
+
.reject{ |pty| pty == '' }
|
50
|
+
#+end_src
|
51
|
+
|
7
52
|
** Tmux commnad to return the ptys and other info
|
8
53
|
#+BEGIN_SRC bash
|
9
54
|
tmux list-panes -F '#{pane_id} #{pane_tty}'
|
10
55
|
tmux list-panes -F '#{pane_id} #{pane_tty} #{pane_right} #{pane_left} #{pane_top} #{pane_bottom}'
|
11
56
|
#+END_SRC
|
12
|
-
|
57
|
+
|
13
58
|
** PowerPlay command for testing
|
14
59
|
#+BEGIN_SRC bash
|
15
60
|
cd examples/
|
16
61
|
../bin/powerplay play -p development -v1 -u
|
17
62
|
#+END_SRC
|
18
|
-
|
data/ansible-powerplay.gemspec
CHANGED
@@ -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.
|
5
|
+
# stub: ansible-powerplay 1.4.6 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "ansible-powerplay".freeze
|
9
|
-
s.version = "1.4.
|
9
|
+
s.version = "1.4.6"
|
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 = "
|
14
|
+
s.date = "2018-01-18"
|
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]
|
@@ -28,7 +28,6 @@ Gem::Specification.new do |s|
|
|
28
28
|
"Gemfile.lock",
|
29
29
|
"LICENSE.txt",
|
30
30
|
"README.org",
|
31
|
-
"RELEASE_NOTES.org",
|
32
31
|
"Rakefile",
|
33
32
|
"SCRATCHPAD.org",
|
34
33
|
"ansible-powerplay.gemspec",
|
@@ -52,7 +51,7 @@ Gem::Specification.new do |s|
|
|
52
51
|
s.homepage = "http://github.com/flajann2/ansible-powerplay".freeze
|
53
52
|
s.licenses = ["MIT".freeze]
|
54
53
|
s.required_ruby_version = Gem::Requirement.new(">= 2.2".freeze)
|
55
|
-
s.rubygems_version = "2.
|
54
|
+
s.rubygems_version = "2.7.3".freeze
|
56
55
|
s.summary = "Powerplay enables you to run Ansible playbooks in parallel.".freeze
|
57
56
|
|
58
57
|
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
|
+
version: 1.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fred Mitchell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -346,7 +346,6 @@ files:
|
|
346
346
|
- Gemfile.lock
|
347
347
|
- LICENSE.txt
|
348
348
|
- README.org
|
349
|
-
- RELEASE_NOTES.org
|
350
349
|
- Rakefile
|
351
350
|
- SCRATCHPAD.org
|
352
351
|
- ansible-powerplay.gemspec
|
@@ -386,7 +385,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
386
385
|
version: '0'
|
387
386
|
requirements: []
|
388
387
|
rubyforge_project:
|
389
|
-
rubygems_version: 2.
|
388
|
+
rubygems_version: 2.7.3
|
390
389
|
signing_key:
|
391
390
|
specification_version: 4
|
392
391
|
summary: Powerplay enables you to run Ansible playbooks in parallel.
|
data/RELEASE_NOTES.org
DELETED
@@ -1,68 +0,0 @@
|
|
1
|
-
* Ansible Powerplay Release Notes
|
2
|
-
With each release, we promise to make some entries here so that
|
3
|
-
you may be informed. We shall always try to maintain backwards compability.
|
4
|
-
|
5
|
-
If something potentially affects backwards compability, we'll bump the minor
|
6
|
-
number. For "milestone" upgrades and/or compability breaks, we'll rev the
|
7
|
-
major number. Of course, you can read all about it here.
|
8
|
-
|
9
|
-
** Release Notes
|
10
|
-
| Release | Feature / Bug | Description | Date |
|
11
|
-
|---------+-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+------------|
|
12
|
-
| v1.4.2 | Crashes with the -b option | Simple bug fix here | 2016-09-07 |
|
13
|
-
| v1.4.1 | Dsl.config_var, lambda | A means to extract the current config variables in the powerplay, as well as a means to do lambdas. Not recommended for use yet. | 2016-09-05 |
|
14
|
-
| v1.4.0 | --extra-vars passed as JSON, config referencing | We now convert the variables to JSON before passing to --extra-vars, and also now allow you to reference the config variables in the squence. | 2016-09-02 |
|
15
|
-
| | | Know that the -m parameter, since it is a bit more general, now requires you to put in an '=' if the string is adjacent to the -m, e.g. -m=0:2 | |
|
16
|
-
| v1.3.0 | Tmux pane numbering | Allows you to specify precisely which panes on your target window that will receive the dump. | 2016-09-01 |
|
17
|
-
| v1.1.0 | Group sequencing | Allows you to run a group multiple times with sequence numbers. | 2016-08-09 |
|
18
|
-
| v1.0.8 | --ttys | List specific terminals you'd like the output to go to. | 2016-07-07 |
|
19
|
-
| v1.0.7 | Verosity Switch --apverbose=n (-Vn) | Pass to ansible-powerplay -v, -vv, etc. | |
|
20
|
-
| v1.0.6 | Ansible Verbosity | Pass to Ansi | |
|
21
|
-
| v1.0.5 | Many bug fixes | Critical bugs all fixed. | |
|
22
|
-
| v1.0.3 | DSL book | changed the named paramer back to the normal one. | 2016-06-08 |
|
23
|
-
| v1.0.0 | version | Prints version | 2016-06-04 |
|
24
|
-
| | powerplay / pp shorthand command | Play task defaults if you use the shorthand 'pp' on the commandline | 2016-06-04 |
|
25
|
-
| | DSL incompatible changes | Nestable groups, naked books. older DSL not gauranteed to be compatable. | |
|
26
|
-
| | Internal rewrite of the execution flow | Logic for execution flow rewritten to allow fine-grained control over what is sync and async. | |
|
27
|
-
| | Internal NOOP books | We need to demarcate groups executing synchronously that they themselves have async members. | |
|
28
|
-
| v0.2.3 | --verbose | Will display Ansible commands on a --verbosity=1 or higher. | 2016-03-17 |
|
29
|
-
| v0.2.2 | --tags, --skip-tags | Ansible tag support | 2016-03-07 |
|
30
|
-
| v0.2.1 | --extra-vars | A way of passing extra vars to the Ansible playbooks. Please see the documentation | 2016-03-01 |
|
31
|
-
| v0.2.0 | powerplay play (behavior change) | If script is not given, now defaults to 'stack.play' in the current directory. | 2016-02-29 |
|
32
|
-
| v0.1.3 | --tmux | Better handling at distributing the panes. | 2016-02-26 |
|
33
|
-
| v0.1.2 | --tmux. --no-tmux | Default output now goes to current tty | 2016-02-23 |
|
34
|
-
| v0.1.1 | --book, --group, --play | Minor bug with the array handling | 2016-02-22 |
|
35
|
-
| v0.1.0 | --book, --group, --play | Now each can take multiple specifications | 2016-02-22 |
|
36
|
-
| v0.0.8 | Creation of these Release Notes | About bloody time. The prior releases were all mostly bug fixes, and so... | 2016-02-20 |
|
37
|
-
| | --tmux | Now you can optionally specify the window number | |
|
38
|
-
| | --tmux | Now checks to ensure it does not dump to its own pane | |
|
39
|
-
| | --book | You can select an individual playbook to run | |
|
40
|
-
| | --group | You can select an individual group to run | |
|
41
|
-
|
42
|
-
** Known Outstanding Issues
|
43
|
-
Bugs and missing features that needs to be addressed. As they are,
|
44
|
-
we'll remove them from this list.
|
45
|
-
|
46
|
-
| Date | Issue | Description |
|
47
|
-
|------------+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------|
|
48
|
-
| 2016-06-07 | execution planning dump (-v2) and -b | When using -b to select an individual book, the execution planning does not reflect this filtration. |
|
49
|
-
| 2016-06-05 | version | Command does not work properly. It hangs. |
|
50
|
-
| 2016-04-07 | --extra-vars | Powerplay duplicates keys on extra vars if already specified in the Powerplay. |
|
51
|
-
| 2016-03-11 | Grouping | Groups executes in parallel instead of serially. |
|
52
|
-
| | Core | Core process flow needs to be redone. |
|
53
|
-
| 2016-03-03 | Status dump out of order | Currently a bit out of order due to the fact that the output are being run in different threads and so the text is being printed nondeterministically. |
|
54
|
-
| 2016-02-20 | Platforms other than Linux | We need to test on Mac OSX and Windows. Should work fine on Macs. I do not plan to support Windows in general, but may accept pull requests to that end. |
|
55
|
-
| | | |
|
56
|
-
|
57
|
-
** Wish List
|
58
|
-
Well, we can always wish upon a star... but it will take
|
59
|
-
my time and dedication to make stars happen. :p
|
60
|
-
|
61
|
-
| Date | Wish | Description |
|
62
|
-
|------------+---------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
63
|
-
| 2016-09-02 | Handle --ask-pass | A user requested this, and will be addressed shortly. |
|
64
|
-
| 2016-02-20 | Integration with Jenkins | I have no idea what form this will take |
|
65
|
-
| | Curses integration | Basically, the tmux integration is used because it was quick to do. But what I really want to do is full Curses support, similar with what you see with htop and other tools. |
|
66
|
-
| 2016-02-26 | Better and Error handling | When there's a failure in the underlying Ansible playbook, we want to handle that better in Powerplay. This would be a part of the Curses upgrade to come later. |
|
67
|
-
| 2016-02-29 | Configuration file | Add a (presumably yaml format) configuration file in a few key locations. |
|
68
|
-
| | Name Completion | Shell integration with name completion features of bash. |
|