From 84386dfa33f14c98a746ca7668946f9a5af948c7 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Thu, 27 Apr 2023 14:40:03 +0200 Subject: [PATCH] add role argument spec for activation_keys role --- roles/activation_keys/meta/argument_specs.yml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 roles/activation_keys/meta/argument_specs.yml diff --git a/roles/activation_keys/meta/argument_specs.yml b/roles/activation_keys/meta/argument_specs.yml new file mode 100644 index 000000000..f1dd2911c --- /dev/null +++ b/roles/activation_keys/meta/argument_specs.yml @@ -0,0 +1,32 @@ +--- +argument_specs: + main: + short_description: Create and manages Activation Keys + description: + - This role creates and manages Activation Keys. + options: + foreman_server_url: + type: "str" + required: false + description: URL of the Foreman server. If the variable is not specified, the value of environment variable C(FOREMAN_SERVER_URL) will be used instead. + foreman_username: + type: "str" + required: false + description: Username accessing the Foreman server. If the variable is not specified, the value of environment variable C(FOREMAN_USERNAME) will be used instead. + foreman_password: + type: "str" + required: false + description: Password of the user accessing the Foreman server. If the variable is not specified, the value of environment variable C(FOREMAN_PASSWORD) will be used instead. + foreman_validate_certs: + type: "bool" + required: false + description: Whether or not to verify the TLS certificates of the Foreman server. If the variable is not specified, the value of environment variable C(FOREMAN_VALIDATE_CERTS) will be used instead. + foreman_organization: + type: "str" + required: false + description: Organization where configuration will be applied. + foreman_activation_keys: + type: "list" + elements: "dict" + required: true + description: List of Activation Keys to manage.