From f6a6df2169ed92ca27e105b70c747c3fae70a5bb Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 13 Feb 2015 08:27:35 -0500 Subject: [PATCH] removed unused method --- lib/ansible/playbook/play.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/ansible/playbook/play.py b/lib/ansible/playbook/play.py index f1b3aacfad..b473423c3a 100644 --- a/lib/ansible/playbook/play.py +++ b/lib/ansible/playbook/play.py @@ -669,20 +669,6 @@ class Play(object): # ************************************************* - def _is_valid_tag(self, tag_list): - """ - Check to see if the list of tags passed in is in the list of tags - we only want (playbook.only_tags), or if it is not in the list of - tags we don't want (playbook.skip_tags). - """ - matched_skip_tags = set(tag_list) & set(self.playbook.skip_tags) - matched_only_tags = set(tag_list) & set(self.playbook.only_tags) - if len(matched_skip_tags) > 0 or (self.playbook.only_tags != ['all'] and len(matched_only_tags) == 0): - return False - return True - - # ************************************************* - def tasks(self): ''' return task objects for this play ''' return self._tasks