ansible-powerplay 1.4.0 → 1.4.1
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 +2 -1
- data/ansible-powerplay.gemspec +3 -3
- data/lib/ansible-powerplay/dsl.rb +11 -1
- 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: 2e5ae3579a0470240636186bfe8f2fb065ffa6cd
|
4
|
+
data.tar.gz: 51bf4c32b494f6e79f8ee9524956046cc02355d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7022871a959ee52413849ac7e30036d7fcd0c8aed769ce62049809a4c0d19f6cc5d55c708ebb872601b46ce946eba5cd4e41f14f6a414a2c940ee85b651a483
|
7
|
+
data.tar.gz: d7265ac64703c1361520c07f2ec4a7a0026a776ef0ccd8a3643cb87188cc580758b7c44ffb5479ca62eb4d1f6692ba7432ba278018b8e819f7098d1ac35df462
|
data/.semver
CHANGED
data/RELEASE_NOTES.org
CHANGED
@@ -9,7 +9,8 @@
|
|
9
9
|
** Release Notes
|
10
10
|
| Release | Feature / Bug | Description | Date |
|
11
11
|
|---------+-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+------------|
|
12
|
-
| v1.4.
|
12
|
+
| 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 |
|
13
|
+
| 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 |
|
13
14
|
| | | 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 | |
|
14
15
|
| 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 |
|
15
16
|
| v1.1.0 | Group sequencing | Allows you to run a group multiple times with sequence numbers. | 2016-08-09 |
|
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.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "ansible-powerplay"
|
9
|
-
s.version = "1.4.
|
9
|
+
s.version = "1.4.1"
|
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-09-
|
14
|
+
s.date = "2016-09-05"
|
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", "pp"]
|
@@ -22,6 +22,12 @@ module Powerplay
|
|
22
22
|
@@config_stack.last
|
23
23
|
end
|
24
24
|
|
25
|
+
# This can be called from the powerplay, but we advise
|
26
|
+
# against it.
|
27
|
+
def config_var(var)
|
28
|
+
_config[var.to_sym].first
|
29
|
+
end
|
30
|
+
|
25
31
|
def _global
|
26
32
|
@@global_config
|
27
33
|
end
|
@@ -55,7 +61,11 @@ module Powerplay
|
|
55
61
|
attr :config, :type, :desc
|
56
62
|
|
57
63
|
def method_missing(name, *args, &block)
|
58
|
-
|
64
|
+
unless args.first.is_a? Proc
|
65
|
+
DSL::_config[name] = args
|
66
|
+
else
|
67
|
+
DSL::_config[name] = [args.first.()]
|
68
|
+
end
|
59
69
|
end
|
60
70
|
|
61
71
|
def respond_to?(name, include_private = false)
|
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.1
|
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-09-
|
11
|
+
date: 2016-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|