mirror of
https://github.com/ceph/ceph
synced 2024-12-25 21:03:31 +00:00
ed6a200104
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>
14 lines
212 B
Python
14 lines
212 B
Python
"""
|
|
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))
|