From 42ad3aa103c712255ab9b3ce13a2fafc4c7633b0 Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Mon, 21 Oct 2024 21:02:45 +0500 Subject: [PATCH] Create argument specs for forgejo --- roles/forgejo/meta/argument_specs.yml | 25 +++++++++++++++++++++++++ roles/forgejo/vars/main.yml | 7 ------- 2 files changed, 25 insertions(+), 7 deletions(-) create mode 100644 roles/forgejo/meta/argument_specs.yml diff --git a/roles/forgejo/meta/argument_specs.yml b/roles/forgejo/meta/argument_specs.yml new file mode 100644 index 0000000..9b2b543 --- /dev/null +++ b/roles/forgejo/meta/argument_specs.yml @@ -0,0 +1,25 @@ +--- +argument_specs: + main: + options: + postgresql_password: + type: "str" + required: true + smtp_password: + type: "str" + required: true + oauth2_jwt_secret: + type: "str" + required: true + internal_token: + type: "str" + required: true + secret_key: + type: "str" + required: true + lfs_jwt_secret: + type: "str" + required: true + minio_secret_access_key: + type: "str" + required: true diff --git a/roles/forgejo/vars/main.yml b/roles/forgejo/vars/main.yml index c75d4e9..55262c6 100644 --- a/roles/forgejo/vars/main.yml +++ b/roles/forgejo/vars/main.yml @@ -1,8 +1 @@ -postgresql_password: -smtp_password: -oauth2_jwt_secret: -internal_token: -secret_key: -lfs_jwt_secret: minio_access_key_id: uTJp8KfKSETa1uYMZnSM -minio_secret_access_key: