parameters: (name)
return_statement: return task
docstring: Generate ceph_manager subtask corresponding to ceph_manager
      method name
docstring_summary: Generate ceph_manager subtask corresponding to ceph_manager
      method name
docstring_tokens: Generate ceph_manager subtask corresponding to ceph_manager method name
function: def utility_task(name):
      """
      Generate ceph_manager subtask corresponding to ceph_manager
      method name
      """
      def task(ctx, config):
          if config is None:
              config = {}
          args = config.get('args', [])
          kwargs = config.get('kwargs', {})
          cluster = config.get('cluster', 'ceph')
          fn = getattr(ctx.managers[cluster], name)
          fn(*args, **kwargs)
      return task
function_tokens: def utility_task ( name ) : def task ( ctx , config ) : if config is None : config = { } args = config . get ( 'args' , [ ] ) kwargs = config . get ( 'kwargs' , { } ) cluster = config . get ( 'cluster' , 'ceph' ) fn = getattr ( ctx . managers [ cluster ] , name ) fn ( * args , * * kwargs ) return task