'Display Playbook and play start messages'

def v2_playbook_on_play_start(self, play):

    self.play = play
    name = play.name
    if (not self.printed_playbook):
        (self.playbook_name, _) = os.path.splitext(os.path.basename(self.play.playbook.filename))
        host_list = self.play.playbook.inventory.host_list
        inventory = os.path.basename(os.path.realpath(host_list))
        self.send_msg(('%s:    Playbook    initiated    by    %s    against    %s' % (self.playbook_name, self.play.playbook.remote_user, inventory)), notify=True)
        self.printed_playbook = True
        subset = self.play.playbook.inventory._subset
        skip_tags = self.play.playbook.skip_tags
        self.send_msg(('%s:\nTags:    %s\nSkip    Tags:    %s\nLimit:    %s' % (self.playbook_name, ',    '.join(self.play.playbook.only_tags), (',    '.join(skip_tags) if skip_tags else None), (',    '.join(subset) if subset else subset))))
    self.send_msg(('%s:    Starting    play:    %s' % (self.playbook_name, name)))
