mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
Much streamlining around setup steps in playbooks, now only run setup once per play.
This commit is contained in:
parent
931f9f1a61
commit
279b5965b8
6 changed files with 24 additions and 36 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue