Commit 95b4a9ff by arbabnazar

update the requirement.txt to ansible 2.x

parent ffa6b05a
...@@ -38,10 +38,10 @@ class CallbackModule(object): ...@@ -38,10 +38,10 @@ class CallbackModule(object):
def clean_tag_value(self, value): def clean_tag_value(self, value):
return value.replace(" | ", ".").replace(" ", "-").lower() return value.replace(" | ", ".").replace(" ", "-").lower()
def playbook_on_play_start(self, pattern): # def playbook_on_play_start(self, pattern):
self.playbook_name, _ = os.path.splitext( # self.playbook_name, _ = os.path.splitext(
os.path.basename(self.play.playbook.filename) # os.path.basename(self.play.playbook.filename)
) # )
def playbook_on_task_start(self, name, is_conditional): def playbook_on_task_start(self, name, is_conditional):
""" """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment