mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove trailing whitespace from the galaxy init Jinja2 template. Default a description.
This commit is contained in:
parent
7587c20d27
commit
d604c8c3a6
2 changed files with 8 additions and 7 deletions
|
@ -251,6 +251,7 @@ class GalaxyCLI(CLI):
|
|||
|
||||
inject = dict(
|
||||
author = 'your name',
|
||||
description = 'your description',
|
||||
company = 'your company (optional)',
|
||||
license = 'license (GPLv2, CC-BY, etc)',
|
||||
issue_tracker_url = 'http://example.com/issue/tracker',
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
galaxy_info:
|
||||
author: {{ author }}
|
||||
description: {{description}}
|
||||
description: {{ description }}
|
||||
company: {{ company }}
|
||||
|
||||
# If the issue tracker for your role is not on github, uncomment the
|
||||
|
@ -38,7 +38,7 @@ galaxy_info:
|
|||
# - all
|
||||
{%- for version in versions %}
|
||||
# - {{ version }}
|
||||
{%- endfor %}
|
||||
{%- endfor -%}
|
||||
{%- endfor %}
|
||||
|
||||
galaxy_tags: []
|
||||
|
|
Loading…
Reference in a new issue