mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
galaxyfy: Fix newline issue in module examples
The newlines in module examples have been removed due to wrong strip for the input lines.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user