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(
|
inject = dict(
|
||||||
author = 'your name',
|
author = 'your name',
|
||||||
|
description = 'your description',
|
||||||
company = 'your company (optional)',
|
company = 'your company (optional)',
|
||||||
license = 'license (GPLv2, CC-BY, etc)',
|
license = 'license (GPLv2, CC-BY, etc)',
|
||||||
issue_tracker_url = 'http://example.com/issue/tracker',
|
issue_tracker_url = 'http://example.com/issue/tracker',
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: {{ author }}
|
author: {{ author }}
|
||||||
description: {{description}}
|
description: {{ description }}
|
||||||
company: {{ company }}
|
company: {{ company }}
|
||||||
|
|
||||||
# If the issue tracker for your role is not on github, uncomment the
|
# If the issue tracker for your role is not on github, uncomment the
|
||||||
# next line and provide a value
|
# next line and provide a value
|
||||||
# issue_tracker_url: {{ issue_tracker_url }}
|
# issue_tracker_url: {{ issue_tracker_url }}
|
||||||
|
|
||||||
# Some suggested licenses:
|
# Some suggested licenses:
|
||||||
# - BSD (default)
|
# - BSD (default)
|
||||||
# - MIT
|
# - MIT
|
||||||
|
@ -15,7 +15,7 @@ galaxy_info:
|
||||||
# - Apache
|
# - Apache
|
||||||
# - CC-BY
|
# - CC-BY
|
||||||
license: {{ license }}
|
license: {{ license }}
|
||||||
|
|
||||||
min_ansible_version: {{ min_ansible_version }}
|
min_ansible_version: {{ min_ansible_version }}
|
||||||
|
|
||||||
# Optionally specify the branch Galaxy will use when accessing the GitHub
|
# Optionally specify the branch Galaxy will use when accessing the GitHub
|
||||||
|
@ -25,7 +25,7 @@ galaxy_info:
|
||||||
# branch will be accepted. Otherwise, in all cases, the repo's default branch
|
# branch will be accepted. Otherwise, in all cases, the repo's default branch
|
||||||
# (usually master) will be used.
|
# (usually master) will be used.
|
||||||
#github_branch:
|
#github_branch:
|
||||||
|
|
||||||
#
|
#
|
||||||
# Below are all platforms currently available. Just uncomment
|
# Below are all platforms currently available. Just uncomment
|
||||||
# the ones that apply to your role. If you don't see your
|
# the ones that apply to your role. If you don't see your
|
||||||
|
@ -38,9 +38,9 @@ galaxy_info:
|
||||||
# - all
|
# - all
|
||||||
{%- for version in versions %}
|
{%- for version in versions %}
|
||||||
# - {{ version }}
|
# - {{ version }}
|
||||||
{%- endfor %}
|
{%- endfor -%}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
galaxy_tags: []
|
galaxy_tags: []
|
||||||
# List tags for your role here, one per line. A tag is
|
# List tags for your role here, one per line. A tag is
|
||||||
# a keyword that describes and categorizes the role.
|
# a keyword that describes and categorizes the role.
|
||||||
|
|
Loading…
Reference in a new issue