Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def find_playbookpath(config, project_root, required=True):
playbooks_path = _find_playbookpath(config, project_root)
if required and not playbooks_path:
error_msg("DebOps playbooks not installed")
return playbooks_path