qb 0.1.21 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/exe/qb +10 -2
- data/lib/qb/options.rb +2 -0
- data/lib/qb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: edfdd80c095e4ab8bb69552dc2657d0f684dcda5
|
|
4
|
+
data.tar.gz: 12bcfa8f876ffdc439a652ebde87f0a8ed817df6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f1f671dfa6971a2a13dcf51772b0dd426babe6948dcd84d7b6920e6a581dc70058ee3cf1984e4c4f65029afbabc599515893325b0bc9ccc8cf23125615bc695f
|
|
7
|
+
data.tar.gz: 50c90d54f4f5433d91edbd762d0bb9b835e67d4f599cba565b17ce4e1c6bbd30eaec85215d614069f4c63b879b1eada0b8c11e9ebde3b997acf792f279d32112
|
data/exe/qb
CHANGED
|
@@ -275,9 +275,17 @@ def main args
|
|
|
275
275
|
# the `gem` ansible module doesn't work right when the bunlder env vars
|
|
276
276
|
# are set... so we need to clear them.
|
|
277
277
|
with_clean_env do
|
|
278
|
-
|
|
278
|
+
template = []
|
|
279
|
+
template << "ANSIBLE_ROLES_PATH=<%= roles_path %> ansible-playbook"
|
|
280
|
+
if play['hosts'] != ['localhost']
|
|
281
|
+
template << "-i <%= hosts %>"
|
|
282
|
+
end
|
|
283
|
+
template << "<%= playbook_path %>"
|
|
284
|
+
|
|
285
|
+
Cmds.stream! template.join(" "),
|
|
279
286
|
roles_path: ansible_roles_path,
|
|
280
|
-
playbook_path: playbook_path.to_s
|
|
287
|
+
playbook_path: playbook_path.to_s,
|
|
288
|
+
hosts: "#{ play['hosts'].join(',') },"
|
|
281
289
|
end
|
|
282
290
|
end
|
|
283
291
|
end
|
data/lib/qb/options.rb
CHANGED
data/lib/qb/version.rb
CHANGED