Skip to content
Snippets Groups Projects
Commit 0d57d69a authored by Thomas Woerner's avatar Thomas Woerner
Browse files

galaxyfy: Fix newline issue in module examples

The newlines in module examples have been removed due to wrong strip for
the input lines.
parent d1c3ecc9
Branches
Tags
No related merge requests found
......@@ -35,8 +35,7 @@ def galaxyfy_playbook(project_prefix, collection_prefix, lines):
changeable = False
include_role = False
for line in lines:
line = line.rstrip()
stripped = line.lstrip()
stripped = line.strip()
if stripped.startswith("- name:") or \
stripped.startswith("- block:"):
changeable = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment