Much streamlining around setup steps in playbooks, now only run setup once per play.

This commit is contained in:
Michael DeHaan 2012-07-14 12:24:19 -04:00
parent 931f9f1a61
commit 279b5965b8
6 changed files with 24 additions and 36 deletions

View file

@ -247,12 +247,9 @@ class PlaybookCallbacks(object):
return getpass.getpass(msg)
return raw_input(msg)
def on_setup_primary(self):
print banner("SETUP PHASE")
def on_setup(self):
print banner("GATHERING FACTS")
def on_setup_secondary(self):
print banner("VARIABLE IMPORT PHASE")
def on_import_for_host(self, host, imported_file):
print "%s: importing %s" % (host, imported_file)