File tree Expand file tree Collapse file tree 2 files changed +1
-16
lines changed
test/schemas/negative_test/roles/meta_invalid_role_namespace/meta Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change 512
512
"namespace" : {
513
513
"markdownDescription" : " Used by molecule and ansible-lint to compute FQRN for roles outside collections" ,
514
514
"minLength" : 2 ,
515
- "pattern" : " ^[a-z][a-z0-9_]+$" ,
515
+ "pattern" : " ^[a-z][a-z0-9_- ]+$" ,
516
516
"title" : " Namespace Name" ,
517
517
"type" : " string"
518
518
},
Original file line number Diff line number Diff line change 19
19
"failingKeyword" : " then"
20
20
},
21
21
"schemaPath" : " #/allOf/0/if"
22
- },
23
- {
24
- "instancePath" : " /galaxy_info/namespace" ,
25
- "keyword" : " pattern" ,
26
- "message" : " must match pattern \" ^[a-z][a-z0-9_]+$\" " ,
27
- "params" : {
28
- "pattern" : " ^[a-z][a-z0-9_]+$"
29
- },
30
- "schemaPath" : " #/properties/namespace/pattern"
31
22
}
32
23
]
33
24
```
@@ -46,12 +37,6 @@ stdout:
46
37
"path" : " $.galaxy_info" ,
47
38
"message" : " 'author' is a required property" ,
48
39
"has_sub_errors" : false
49
- },
50
- {
51
- "filename" : " negative_test/roles/meta_invalid_role_namespace/meta/main.yml" ,
52
- "path" : " $.galaxy_info.namespace" ,
53
- "message" : " 'foo-bar' does not match '^[a-z][a-z0-9_]+$'" ,
54
- "has_sub_errors" : false
55
40
}
56
41
],
57
42
"parse_errors" : []
You can’t perform that action at this time.
0 commit comments