Skip to content

Commit 8c80975

Browse files
artis3npre-commit-ci[bot]ssbarnea
authored
Add Amazon Linux 2023 as a supported platform (#3405)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Sorin Sbarnea <[email protected]>
1 parent 62e3e21 commit 8c80975

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

src/ansiblelint/schemas/meta.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,25 @@
3838
"title": "AlpinePlatformModel",
3939
"type": "object"
4040
},
41+
"AmazonLinuxPlatformModel": {
42+
"properties": {
43+
"name": {
44+
"const": "Amazon Linux",
45+
"title": "Name",
46+
"type": "string"
47+
},
48+
"versions": {
49+
"default": "all",
50+
"items": {
51+
"enum": ["all", "1", "2", "2023"],
52+
"type": "string"
53+
},
54+
"type": "array"
55+
}
56+
},
57+
"title": "Amazon Linux 2PlatformModel",
58+
"type": "object"
59+
},
4160
"AmazonPlatformModel": {
4261
"properties": {
4362
"name": {
@@ -72,25 +91,6 @@
7291
"title": "AmazonPlatformModel",
7392
"type": "object"
7493
},
75-
"Amazon_Linux_2PlatformModel": {
76-
"properties": {
77-
"name": {
78-
"const": "Amazon Linux 2",
79-
"title": "Name",
80-
"type": "string"
81-
},
82-
"versions": {
83-
"default": "all",
84-
"items": {
85-
"enum": ["all"],
86-
"type": "string"
87-
},
88-
"type": "array"
89-
}
90-
},
91-
"title": "Amazon Linux 2PlatformModel",
92-
"type": "object"
93-
},
9494
"ArchLinuxPlatformModel": {
9595
"properties": {
9696
"name": {
@@ -1206,7 +1206,7 @@
12061206
"$ref": "#/$defs/AmazonPlatformModel"
12071207
},
12081208
{
1209-
"$ref": "#/$defs/Amazon_Linux_2PlatformModel"
1209+
"$ref": "#/$defs/AmazonLinuxPlatformModel"
12101210
},
12111211
{
12121212
"$ref": "#/$defs/aosPlatformModel"

0 commit comments

Comments
 (0)