From 5006cc4d85d8d46cfa6667ac077e980926a66d25 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Thu, 29 Sep 2022 23:25:51 +0100 Subject: [PATCH] Update schemas (#2517) --- examples/collection/galaxy.yml | 1 + src/ansiblelint/schemas/galaxy.json | 3 ++- src/ansiblelint/schemas/playbook.json | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/examples/collection/galaxy.yml b/examples/collection/galaxy.yml index 55f314ff5f..8caac51764 100644 --- a/examples/collection/galaxy.yml +++ b/examples/collection/galaxy.yml @@ -13,3 +13,4 @@ dependencies: license: - GPL # <-- invalid license values based on galaxy schema - Apache +repository: some-url diff --git a/src/ansiblelint/schemas/galaxy.json b/src/ansiblelint/schemas/galaxy.json index e39e388e29..c057878181 100644 --- a/src/ansiblelint/schemas/galaxy.json +++ b/src/ansiblelint/schemas/galaxy.json @@ -541,7 +541,8 @@ "version", "readme", "authors", - "description" + "description", + "repository" ], "title": "Ansible galaxy.yml Schema", "type": "object" diff --git a/src/ansiblelint/schemas/playbook.json b/src/ansiblelint/schemas/playbook.json index 52960a3536..e618955015 100644 --- a/src/ansiblelint/schemas/playbook.json +++ b/src/ansiblelint/schemas/playbook.json @@ -1195,6 +1195,12 @@ "default": 8, "title": "Salt Size", "type": "integer" + }, + "unsafe": { + "default": false, + "markdownDescription": "See [unsafe](https://docs.ansible.com/ansible/latest/user_guide/playbooks_prompts.html#allowing-special-characters-in-vars-prompt-values)", + "title": "Unsafe", + "type": "boolean" } }, "required": [