mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
Merge pull request #659 from t-woerner/fix_galaxyfy_module_examples
galaxyfy: Fix newline issue in module examples
This commit is contained in:
@@ -35,8 +35,7 @@ def galaxyfy_playbook(project_prefix, collection_prefix, lines):
|
|||||||
changeable = False
|
changeable = False
|
||||||
include_role = False
|
include_role = False
|
||||||
for line in lines:
|
for line in lines:
|
||||||
line = line.rstrip()
|
stripped = line.strip()
|
||||||
stripped = line.lstrip()
|
|
||||||
if stripped.startswith("- name:") or \
|
if stripped.startswith("- name:") or \
|
||||||
stripped.startswith("- block:"):
|
stripped.startswith("- block:"):
|
||||||
changeable = True
|
changeable = True
|
||||||
|
|||||||
Reference in New Issue
Block a user