summaryrefslogtreecommitdiff
path: root/lib/ansible/galaxy
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2016-11-16 16:49:11 -0500
committerBrian Coca <bcoca@users.noreply.github.com>2017-01-25 10:34:37 -0500
commit1e08e9a55f3207515e32299c99fd8cd22dc6a833 (patch)
tree47688377cf00b393119116400940f4de53d9fb70 /lib/ansible/galaxy
parentb67f50570ed859ca8a796d8ce844ea1aeb58f691 (diff)
downloadansible-1e08e9a55f3207515e32299c99fd8cd22dc6a833.tar.gz
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
Diffstat (limited to 'lib/ansible/galaxy')
-rw-r--r--lib/ansible/galaxy/data/default/meta/main.yml.j224
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/ansible/galaxy/data/default/meta/main.yml.j2 b/lib/ansible/galaxy/data/default/meta/main.yml.j2
index 78bccdc50d..a4896f6c5d 100644
--- a/lib/ansible/galaxy/data/default/meta/main.yml.j2
+++ b/lib/ansible/galaxy/data/default/meta/main.yml.j2
@@ -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