Made a task that simply prints the output that is given to it as
an argument. Can be used like any other task (under sequential,
etc...)
IE:
tasks:
- print: "String"
- chef: null
- print: "Another String"
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
--- /dev/null
+"""
+Print task
+"""
+
+import logging
+
+log = logging.getLogger(__name__)
+
+def task(ctx, config):
+ """
+ Print out config argument in teuthology log/output
+ """
+ log.info('{config}'.format(config=config))