Giter Club home page Giter Club logo

Comments (5)

dmsimard avatar dmsimard commented on July 22, 2024 13

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.

mwilck avatar mwilck commented on July 22, 2024 9

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.

chouseknecht avatar chouseknecht commented on July 22, 2024 5

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.

stdevel avatar stdevel commented on July 22, 2024 2

Just stumbled upon the same issue. Is there something comparable for the new Ansible Galaxy?

from galaxy.

chouseknecht avatar chouseknecht commented on July 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.