removed debug, moved limit to runtask instead section

This commit is contained in:
Brian Coca 2015-06-09 17:32:34 -04:00
parent fdeca37257
commit 845d564d89
2 changed files with 2 additions and 4 deletions

View file

@ -222,6 +222,8 @@ class CLI(object):
help="specify path(s) to module library (default=%s)" % C.DEFAULT_MODULE_PATH, default=None)
parser.add_option('-e', '--extra-vars', dest="extra_vars", action="append",
help="set additional variables as key=value or YAML/JSON", default=[])
parser.add_option('-l', '--limit', default=C.DEFAULT_SUBSET, dest='subset',
help='further limit selected hosts to an additional pattern')
if fork_opts:
parser.add_option('-f','--forks', dest='forks', default=C.DEFAULT_FORKS, type='int',
@ -235,8 +237,6 @@ class CLI(object):
if subset_opts:
parser.add_option('-l', '--limit', default=C.DEFAULT_SUBSET, dest='subset',
help='further limit selected hosts to an additional pattern')
parser.add_option('-t', '--tags', dest='tags', default='all',
help="only run plays and tasks tagged with these values")
parser.add_option('--skip-tags', dest='skip_tags',

View file

@ -144,8 +144,6 @@ class PullCLI(CLI):
self.display.display("Sleeping for %d seconds..." % self.options.sleep)
time.sleep(self.options.sleep);
import q
q(cmd)
# RUN the Checkout command
rc, out, err = run_cmd(cmd, live=True)