Esempio n. 1
0
 def run_playbook(self, o, fields, template_name=None):
     if not template_name:
         template_name = self.template_name
     tStart = time.time()
     run_template_ssh(template_name, fields)
     logger.info("playbook execution time %d" % int(time.time() - tStart),
                 extra=o.tologdict())
Esempio n. 2
0
 def run_playbook(self, o, fields, template_name=None):
     if not template_name:
         template_name = self.template_name
     tStart = time.time()
     run_template_ssh(template_name, fields)
     logger.info("playbook execution time %d" % int(time.time()-tStart),extra=o.tologdict())
Esempio n. 3
0
 def run_playbook(self, o, fields, template_name=None):
     if not template_name:
         template_name = self.template_name
     tStart = time.time()
     run_template_ssh(template_name, fields, path="container")
     logger.info("playbook execution time %d" % int(time.time()-tStart))