Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (19 sloc) 561 Bytes
Print task
A task that logs whatever is given to it as an argument. Can be used
like any other task (under sequential, etc...).j
For example, the following would cause the strings "String" and "Another
string" to appear in the teuthology.log before and after the chef task
runs, respectively.
- print: "String"
- chef: null
- print: "Another String"
import logging
log = logging.getLogger(__name__)
def task(ctx, config):
Print out config argument in teuthology log/output