qb 0.1.1 → 0.1.2
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 +11 -3
- 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: b96ab02938e73c26fe0378385e813a910e0565eb
|
4
|
+
data.tar.gz: 8596c59e67f48b921b82d3731722661bcb9aca0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d32e53826da68fc9f8725b408a4d7754e77df49915f31a97d55d8fcd0ba9c4916d789c753c63f82ac658be348b2f963b5bd42f2832baac470a74f459b97bb26
|
7
|
+
data.tar.gz: 09abb7fa1a0eb966dec6d40df5bc6a9a0b62020880a6196531d95fe23105d2d0dbd4d68a16ef3ef28bc2af1ca1caf689d1ab1a87fc10c385515f729abe9a39ff
|
data/exe/qb
CHANGED
@@ -269,7 +269,10 @@ def main args
|
|
269
269
|
|
270
270
|
debug playbook: playbook
|
271
271
|
|
272
|
-
|
272
|
+
playbook_path = ROOT + '.qb-playbook.yml'
|
273
|
+
debug playbook_path: playbook_path.to_s
|
274
|
+
|
275
|
+
playbook_path.open('w') do |f|
|
273
276
|
f.write YAML.dump(playbook)
|
274
277
|
end
|
275
278
|
|
@@ -280,8 +283,13 @@ def main args
|
|
280
283
|
f.write YAML.dump(saved_options)
|
281
284
|
end
|
282
285
|
end
|
283
|
-
|
284
|
-
|
286
|
+
|
287
|
+
Dir.chdir ROOT do
|
288
|
+
# install requirements
|
289
|
+
Cmds.stream! "ansible-galaxy install --ignore-errors -r %s", [ROOT + 'requirements.yml']
|
290
|
+
|
291
|
+
Cmds.stream! "ansible-playbook %s", [playbook_path.to_s]
|
292
|
+
end
|
285
293
|
end
|
286
294
|
|
287
295
|
main(ARGV) # if __FILE__ == $0 # doesn't work with gem stub or something?
|
data/lib/qb/version.rb
CHANGED