Comments (5)
If anyone else ends up finding this issue, I wrote a small script to query the API and retrieve the list of available platforms and their versions: https://github.com/dmsimard/ansible-sandbox/tree/master/get-galaxy-platforms
At this time, the output looks like this:
$ get-galaxy-platforms.py
{
"Alpine": {
"name": "Alpine",
"versions": [
"any"
]
},
"Amazon": {
"name": "Amazon",
"versions": [
"2013.03",
"2013.09",
"2016.03",
"2016.09",
"2017.03",
"2017.09",
"2017.12",
"Candidate"
]
},
"ArchLinux": {
"name": "ArchLinux",
"versions": [
"any"
]
},
"Cumulus": {
"name": "Cumulus",
"versions": [
"2.5",
"3.0",
"3.1",
"3.2",
"3.3",
"3.4",
"3.5"
]
},
"Debian": {
"name": "Debian",
"versions": [
"buster",
"etch",
"jessie",
"lenny",
"sid",
"squeeze",
"stretch",
"wheezy"
]
},
"DellOS": {
"name": "DellOS",
"versions": [
"10",
"6",
"9"
]
},
"Devuan": {
"name": "Devuan",
"versions": [
"ascii",
"beowulf",
"ceres",
"jessie"
]
},
"EL": {
"name": "EL",
"versions": [
"5",
"6",
"7"
]
},
"eos": {
"name": "eos",
"versions": [
"Any"
]
},
"Fedora": {
"name": "Fedora",
"versions": [
"16",
"17",
"18",
"19",
"20",
"21",
"22",
"23",
"24",
"25",
"26",
"27",
"28",
"29"
]
},
"FreeBSD": {
"name": "FreeBSD",
"versions": [
"10.0",
"10.1",
"10.2",
"10.3",
"10.4",
"11.0",
"11.1",
"11.2",
"8.0",
"8.1",
"8.2",
"8.3",
"8.4",
"9.0",
"9.1",
"9.2",
"9.3"
]
},
"GenericBSD": {
"name": "GenericBSD",
"versions": [
"any"
]
},
"GenericLinux": {
"name": "GenericLinux",
"versions": [
"any"
]
},
"GenericUNIX": {
"name": "GenericUNIX",
"versions": [
"any"
]
},
"HardenedBSD": {
"name": "HardenedBSD",
"versions": [
"10",
"11"
]
},
"IOS": {
"name": "IOS",
"versions": [
"any"
]
},
"Junos": {
"name": "Junos",
"versions": [
"any"
]
},
"macOS": {
"name": "macOS",
"versions": [
"High-Sierra",
"Sierra"
]
},
"MacOSX": {
"name": "MacOSX",
"versions": [
"10.10",
"10.11",
"10.12",
"10.13",
"10.14",
"10.7",
"10.8",
"10.9"
]
},
"NXOS": {
"name": "NXOS",
"versions": [
"any"
]
},
"OpenBSD": {
"name": "OpenBSD",
"versions": [
"5.6",
"5.7",
"5.8",
"5.9",
"6.0",
"6.1",
"6.2",
"6.3"
]
},
"opensuse": {
"name": "opensuse",
"versions": [
"12.1",
"12.2",
"12.3",
"13.1",
"13.2"
]
},
"PAN-OS": {
"name": "PAN-OS",
"versions": [
"7.1",
"8.0",
"8.1",
"9.0"
]
},
"SLES": {
"name": "SLES",
"versions": [
"10SP3",
"10SP4",
"11",
"11SP1",
"11SP2",
"11SP3",
"11SP4",
"12",
"12SP1"
]
},
"SmartOS": {
"name": "SmartOS",
"versions": [
"any"
]
},
"Solaris": {
"name": "Solaris",
"versions": [
"10",
"11.0",
"11.1",
"11.2",
"11.3"
]
},
"Synology": {
"name": "Synology",
"versions": [
"any"
]
},
"TMOS": {
"name": "TMOS",
"versions": [
"12.1",
"13.0",
"13.1",
"14.0"
]
},
"Ubuntu": {
"name": "Ubuntu",
"versions": [
"artful",
"bionic",
"cosmic",
"cuttlefish",
"lucid",
"maverick",
"natty",
"oneiric",
"precise",
"quantal",
"raring",
"saucy",
"trusty",
"utopic",
"vivid",
"wily",
"xenial",
"yakkety",
"zesty"
]
},
"vCenter": {
"name": "vCenter",
"versions": [
"5.5",
"6.0",
"6.5",
"6.7"
]
},
"Void Linux": {
"name": "Void Linux",
"versions": [
"any"
]
},
"vSphere": {
"name": "vSphere",
"versions": [
"5.5",
"6.0",
"6.5",
"6.7"
]
},
"Windows": {
"name": "Windows",
"versions": [
"2008R2",
"2008x64",
"2008x86",
"2012",
"2012R2",
"2016"
]
}
}
from galaxy.
This method doesn't work any more,
https://galaxy.ansible.com/api/v1/platforms/ returns HTTP 404
Any idea what else to use?
from galaxy.
From @roumano on May 2, 2017 21:2
👍
Can't find from google but this links list of supported platforms for a role metadata 👍
https://galaxy.ansible.com/api/v1/platforms/
you can adapt the query like this : https://galaxy.ansible.com/api/v1/platforms/?name=EL and the result is a json, so managable by ansible too ...
from galaxy.
Just stumbled upon the same issue. Is there something comparable for the new Ansible Galaxy?
from galaxy.
From @danlamanna on April 25, 2017 17:25
This would be a great topic to have documented. Current practice for me is googling and discovering how other roles have things set up.
from galaxy.
Related Issues (20)
- Receive Server Error 500 at Login HOT 2
- community.cassandra update not being published to galaxy HOT 1
- namespace: cse HOT 6
- namespace: homelab_ops HOT 1
- namespace: liquibase HOT 2
- namespace: mitre HOT 2
- Error 500 importing role from organization with dashes in name HOT 1
- https://galaxy.ansible.com/api has been flaky most of the day HOT 5
- namespace: sensa HOT 2
- namespace: zynex HOT 1
- namespace: m3i-dev HOT 3
- namespace: Create a namespace for organization revboot HOT 1
- New namespace: OPI HOT 5
- namespace: get_edi_io HOT 1
- Galaxy Platforms API Not Found
- namespace: osahris HOT 4
- namespace: cyblexconsulting HOT 5
- Create namespace shaunsund-ansible and bluepants-dev HOT 12
- namespace: inwx HOT 3
- Ansible Galaxy namespace request HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from galaxy.