Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
f6a6df21
Commit
f6a6df21
authored
Feb 13, 2015
by
Brian Coca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unused method
parent
af573db4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
lib/ansible/playbook/play.py
+0
-14
No files found.
lib/ansible/playbook/play.py
View file @
f6a6df21
...
@@ -669,20 +669,6 @@ class Play(object):
...
@@ -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
):
def
tasks
(
self
):
''' return task objects for this play '''
''' return task objects for this play '''
return
self
.
_tasks
return
self
.
_tasks
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment