INNER CODE UNIT · Python

v2_playbook_on_import_for_host

wise2c-devops/breeze · callback_plugins/log_back.py:161

    def v2_playbook_on_import_for_host(self, result, imported_file):
        host = result._host.get_name()
        self.playbook_on_import_for_host(host, imported_file)

    # FIXME: not called
    def v2_playbook_on_not_import_for_host(self, result, missing_file):
        host = result._host.get_name()
        self.playbook_on_not_import_for_host(host, missing_file)

    def v2_playbook_on_play_start(self, play):
        self.playbook_on_play_start(play.name)

    def v2_playbook_on_stats(self, stats):
        state = ""
        if len(stats.failures) > 0 or len(stats.dark) > 0:
            state = "failed"
        else:
            state = "ok"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…