mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Remove platforms api request from galaxy 'init'
Instead of populating the platform comment in the default meta/main.yml with a dict of platforms fetch from the galaxy REST API, this removes the API call and adds a commented out example platforms list to the default meta/main.yml Fixes #18103
This commit is contained in:
parent
b67f50570e
commit
1e08e9a55f
2 changed files with 12 additions and 25 deletions
|
@ -30,19 +30,19 @@ galaxy_info:
|
|||
#github_branch:
|
||||
|
||||
#
|
||||
# Below are all platforms currently available. Just uncomment the ones that apply
|
||||
# to your role. If you don't see your platform on this list, let us know,
|
||||
# and we'll get it added!
|
||||
# platforms is a list of platforms, and each platform has a name and a list of versions.
|
||||
#
|
||||
#platforms:
|
||||
{%- for platform,versions in platforms.items() %}
|
||||
#- name: {{ platform }}
|
||||
# versions:
|
||||
# - all
|
||||
{%- for version in versions %}
|
||||
# - {{ version }}
|
||||
{%- endfor -%}
|
||||
{%- endfor %}
|
||||
# platforms:
|
||||
# - name: Fedora
|
||||
# versions:
|
||||
# - all
|
||||
# - 25
|
||||
# - name: SomePlatform
|
||||
# versions:
|
||||
# - all
|
||||
# - 1.0
|
||||
# - 7
|
||||
# - 99.99
|
||||
|
||||
galaxy_tags: []
|
||||
# List tags for your role here, one per line. A tag is a keyword that describes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue