Skip to content

Commit

Permalink
Add Amazon Linux 2023 as a supported platform (#3405)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sorin Sbarnea <[email protected]>
  • Loading branch information
3 people authored May 9, 2023
1 parent 62e3e21 commit 8c80975
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions src/ansiblelint/schemas/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,25 @@
"title": "AlpinePlatformModel",
"type": "object"
},
"AmazonLinuxPlatformModel": {
"properties": {
"name": {
"const": "Amazon Linux",
"title": "Name",
"type": "string"
},
"versions": {
"default": "all",
"items": {
"enum": ["all", "1", "2", "2023"],
"type": "string"
},
"type": "array"
}
},
"title": "Amazon Linux 2PlatformModel",
"type": "object"
},
"AmazonPlatformModel": {
"properties": {
"name": {
Expand Down Expand Up @@ -72,25 +91,6 @@
"title": "AmazonPlatformModel",
"type": "object"
},
"Amazon_Linux_2PlatformModel": {
"properties": {
"name": {
"const": "Amazon Linux 2",
"title": "Name",
"type": "string"
},
"versions": {
"default": "all",
"items": {
"enum": ["all"],
"type": "string"
},
"type": "array"
}
},
"title": "Amazon Linux 2PlatformModel",
"type": "object"
},
"ArchLinuxPlatformModel": {
"properties": {
"name": {
Expand Down Expand Up @@ -1206,7 +1206,7 @@
"$ref": "#/$defs/AmazonPlatformModel"
},
{
"$ref": "#/$defs/Amazon_Linux_2PlatformModel"
"$ref": "#/$defs/AmazonLinuxPlatformModel"
},
{
"$ref": "#/$defs/aosPlatformModel"
Expand Down

0 comments on commit 8c80975

Please sign in to comment.