ansible-powerplay 0.1.1 → 0.1.2
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/RELEASE_NOTES.org +12 -26
- data/ansible-powerplay.gemspec +3 -3
- data/lib/ansible-powerplay/powerplay.rb +6 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb40dbf111896bd21d6222190285c8fbe3a8f43a
|
4
|
+
data.tar.gz: 536a964f3be80cdeee2afa2530e8428c1c214f92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff370b7c1b9f5ef1e8a5cb2c18139a39792db7dfb84e7d60a0655f15cf63453c42e429637ed021ed175fa92cf31c6ee719896dc666dee0a402c29f6e972f8bff
|
7
|
+
data.tar.gz: e3711e106e82a49959da9032dc2c4cd905e117bb49849cf1b4fd8b600139c7cf05a3c9f101193df3df9329124acd4c4af1ed237b4603a4d5a7153570105aa41f
|
data/.semver
CHANGED
data/RELEASE_NOTES.org
CHANGED
@@ -6,29 +6,17 @@
|
|
6
6
|
number. For "milestone" upgrades and/or compability breaks, we'll rev the
|
7
7
|
major number. Of course, you can read all about it here.
|
8
8
|
|
9
|
-
**
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
18
|
-
|
19
|
-
|
|
20
|
-
|-------------------------+-------------------------------------------|
|
21
|
-
| --book, --group, --play | Now each can take multiple specifications |
|
22
|
-
|
23
|
-
|
24
|
-
*** v0.0.8 2016-02-20
|
25
|
-
| Feature / Bug | Description |
|
26
|
-
|---------------------------------+----------------------------------------------------------------------------|
|
27
|
-
| Creation of these Release Notes | About bloody time. The prior releases were all mostly bug fixes, and so... |
|
28
|
-
| --tmux | Now you can optionally specify the window number |
|
29
|
-
| --tmux | Now checks to ensure it does not dump to its own pane |
|
30
|
-
| --book | You can select an individual playbook to run |
|
31
|
-
| --group | You can select an individual group to run |
|
9
|
+
** Release Notes
|
10
|
+
| Date | Release | Feature / Bug | Description |
|
11
|
+
|------------+---------+---------------------------------+----------------------------------------------------------------------------|
|
12
|
+
| 2016-02-23 | v0.1.2 | --tmux. --no-tmux | Default output now goes to current tty |
|
13
|
+
| 2016-02-22 | v0.1.1 | --book, --group, --play | Minor bug with the array handling |
|
14
|
+
| 2016-02-22 | v0.1.0 | --book, --group, --play | Now each can take multiple specifications |
|
15
|
+
| 2016-02-20 | v0.0.8 | Creation of these Release Notes | About bloody time. The prior releases were all mostly bug fixes, and so... |
|
16
|
+
| | | --tmux | Now you can optionally specify the window number |
|
17
|
+
| | | --tmux | Now checks to ensure it does not dump to its own pane |
|
18
|
+
| | | --book | You can select an individual playbook to run |
|
19
|
+
| | | --group | You can select an individual group to run |
|
32
20
|
|
33
21
|
** Known Outstanding Issues
|
34
22
|
Bugs and missing features that needs to be addressed. As they are,
|
@@ -38,7 +26,7 @@
|
|
38
26
|
|------------+----------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------|
|
39
27
|
| 2016-02-20 | Non tmux output | Redirected to stdout, but really needs to go to the current tty. |
|
40
28
|
| 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. |
|
41
|
-
|
29
|
+
|
42
30
|
** Wish List
|
43
31
|
Well, we can always wish upon a star...
|
44
32
|
|
@@ -46,5 +34,3 @@
|
|
46
34
|
|------------+--------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
47
35
|
| 2016-02-20 | Integration with Jenkins | I have no idea what form this will take |
|
48
36
|
| 2016-02-20 | 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. |
|
49
|
-
| | | |
|
50
|
-
|
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 0.1.
|
5
|
+
# stub: ansible-powerplay 0.1.2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "ansible-powerplay"
|
9
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.2"
|
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-02-
|
14
|
+
s.date = "2016-02-23"
|
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"]
|
@@ -3,13 +3,16 @@ require 'ansible-powerplay'
|
|
3
3
|
|
4
4
|
module Powerplay
|
5
5
|
module Play
|
6
|
-
DEFOUT = "&1" # default non-tmux output
|
7
|
-
|
8
6
|
def self.clopts
|
9
7
|
@cliots ||= DSL::_global[:options]
|
10
8
|
end
|
11
9
|
|
12
10
|
module Tmux
|
11
|
+
|
12
|
+
def self.current_tty
|
13
|
+
%x[tty].chop
|
14
|
+
end
|
15
|
+
|
13
16
|
# Get a list of the ptys
|
14
17
|
# Note that this code is a bit innefficient, but will only be
|
15
18
|
# executed once in the loop.
|
@@ -28,7 +31,7 @@ module Powerplay
|
|
28
31
|
.reject{ |pty| pty == %x(tty).chop }
|
29
32
|
.reject{ |pty| pty == '' }
|
30
33
|
else
|
31
|
-
[
|
34
|
+
[current_tty]
|
32
35
|
end
|
33
36
|
end
|
34
37
|
end
|
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.1.
|
4
|
+
version: 0.1.2
|
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-02-
|
11
|
+
date: 2016-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|