From 2a518a44ef0d85b99655b7f94b221ac99a16f4f4 Mon Sep 17 00:00:00 2001 From: Webster Mudge Date: Fri, 22 Aug 2025 14:17:40 -0400 Subject: [PATCH] Update version_added to roles, modules, and plugins Signed-off-by: Webster Mudge --- plugins/filter/combine_onto.yml | 3 ++- plugins/lookup/supported.py | 2 +- plugins/test/version.yml | 2 +- .../meta/argument_specs.yml} | 17 +++++++------- roles/blackbox/meta/argument_specs.yml | 2 +- .../blackbox_exporter/meta/argument_specs.yml | 2 +- roles/common/meta/argument_specs.yml | 23 +++++++++++++++++++ roles/data/meta/argument_specs.yml | 23 +++++++++++++++++++ .../dynamic_inventory/meta/argument_specs.yml | 23 +++++++++++++++++++ roles/freeipa_client/meta/argument_specs.yml | 2 +- .../meta/argument_specs.yml | 23 +++++++++++++++++++ roles/freeipa_server/meta/argument_specs.yml | 1 + roles/grafana/meta/argument_specs.yml | 1 + roles/info/meta/argument_specs.yml | 23 +++++++++++++++++++ roles/infrastructure/meta/argument_specs.yml | 23 +++++++++++++++++++ roles/init_deployment/meta/argument_specs.yml | 23 +++++++++++++++++++ roles/mount/meta/argument_specs.yml | 1 + roles/node_exporter/meta/argument_specs.yml | 2 +- roles/nodeexporter/meta/argument_specs.yml | 2 +- roles/platform/meta/argument_specs.yml | 23 +++++++++++++++++++ roles/prometheus/meta/argument_specs.yml | 1 + roles/provision/meta/argument_specs.yml | 23 +++++++++++++++++++ .../mysql_connector/meta/argument_specs.yml | 23 +++++++++++++++++++ .../oracle_connector/meta/argument_specs.yml | 23 +++++++++++++++++++ .../meta/argument_specs.yml | 23 +++++++++++++++++++ roles/rdbms/server/meta/argument_specs.yml | 1 + roles/rdbms_server/meta/argument_specs.yml | 1 + roles/runtime/meta/argument_specs.yml | 23 +++++++++++++++++++ roles/sequence/meta/argument_specs.yml | 23 +++++++++++++++++++ roles/sudoers/meta/argument_specs.yml | 23 +++++++++++++++++++ roles/sudoers/tasks/main.yml | 6 +++++ roles/sudoers/tasks/teardown.yml | 6 +++++ .../meta/argument_specs.yml | 1 + .../tls_generate_csr/meta/argument_specs.yml | 1 + .../tls_install_certs/meta/argument_specs.yml | 1 + roles/tls_signing/meta/argument_specs.yml | 1 + 36 files changed, 385 insertions(+), 16 deletions(-) rename roles/{rdbms/server/meta/main.yml => auto_repo_mirror/meta/argument_specs.yml} (64%) create mode 100644 roles/common/meta/argument_specs.yml create mode 100644 roles/data/meta/argument_specs.yml create mode 100644 roles/dynamic_inventory/meta/argument_specs.yml create mode 100644 roles/freeipa_host_group/meta/argument_specs.yml create mode 100644 roles/info/meta/argument_specs.yml create mode 100644 roles/infrastructure/meta/argument_specs.yml create mode 100644 roles/init_deployment/meta/argument_specs.yml create mode 100644 roles/platform/meta/argument_specs.yml create mode 100644 roles/provision/meta/argument_specs.yml create mode 100644 roles/rdbms/client/mysql_connector/meta/argument_specs.yml create mode 100644 roles/rdbms/client/oracle_connector/meta/argument_specs.yml create mode 100644 roles/rdbms/client/postgresql_connector/meta/argument_specs.yml create mode 100644 roles/runtime/meta/argument_specs.yml create mode 100644 roles/sequence/meta/argument_specs.yml create mode 100644 roles/sudoers/meta/argument_specs.yml diff --git a/plugins/filter/combine_onto.yml b/plugins/filter/combine_onto.yml index afd925ae..2f49bd1b 100644 --- a/plugins/filter/combine_onto.yml +++ b/plugins/filter/combine_onto.yml @@ -15,10 +15,11 @@ DOCUMENTATION: name: combine_onto author: Webster Mudge (@wmudge) - short_description: combine two dictionaries + short_description: Combine two dictionaries description: - Create a dictionary (hash/associative array) as a result of merging existing dictionaries. - This is the reverse of the C(ansible.builtin.combine) filter. + version_added: "1.0.0" positional: _input, _dicts options: _input: diff --git a/plugins/lookup/supported.py b/plugins/lookup/supported.py index dfe0fff1..5ba6ab62 100644 --- a/plugins/lookup/supported.py +++ b/plugins/lookup/supported.py @@ -24,7 +24,7 @@ description: - Retrieve support matrix details for Cloudera Manager, Runtime, or Data Services versions. author: Cloudera Labs -version_added: 3.0.0 +version_added: "3.0.0" options: _terms: description: diff --git a/plugins/test/version.yml b/plugins/test/version.yml index c2d62533..977f6855 100644 --- a/plugins/test/version.yml +++ b/plugins/test/version.yml @@ -15,13 +15,13 @@ DOCUMENTATION: name: version author: Cloudera Labs - version_added: "3.0.0" short_description: compare Cloudera version strings description: - Compare version strings using the Cloudera versioning scheme. - Cloudera versioning is an extension of Semantic Versioning that uses the C(prerelease) segment to indicate service packs or extended patch releases. - Moreover, this versioning scheme allow the C(prerelease) delimiter to use whitespace (C(' ')) and dots (C('.')) in addition to the semantic version's dash (C('-')). + version_added: "3.0.0" options: _input: description: Left hand version to compare diff --git a/roles/rdbms/server/meta/main.yml b/roles/auto_repo_mirror/meta/argument_specs.yml similarity index 64% rename from roles/rdbms/server/meta/main.yml rename to roles/auto_repo_mirror/meta/argument_specs.yml index 1e8d0514..bb3cfec7 100644 --- a/roles/rdbms/server/meta/main.yml +++ b/roles/auto_repo_mirror/meta/argument_specs.yml @@ -1,10 +1,10 @@ -# Copyright 2025 Cloudera, Inc. All Rights Reserved. +# Copyright 2025 Cloudera, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -14,9 +14,10 @@ --- -galaxy_info: - description: > - Set up single database to support Cloudera Data Platform (CDP) Private Cloud - deployments. - company: Cloudera - license: Apache-2.0 +argument_specs: + main: + short_description: Repository preseed + description: + - DEPRECATED + author: Cloudera Labs + version_added: 2.0.0 diff --git a/roles/blackbox/meta/argument_specs.yml b/roles/blackbox/meta/argument_specs.yml index 88b50125..7b08e222 100644 --- a/roles/blackbox/meta/argument_specs.yml +++ b/roles/blackbox/meta/argument_specs.yml @@ -20,7 +20,7 @@ argument_specs: description: - Download and install the Blackbox Explorer (blackbox_exporter) for Prometheus. author: Cloudera Labs - version_added: 5.0.0 + version_added: "2.4.0" options: blackbox_tarball_url: description: Blackbox distribution URL diff --git a/roles/blackbox_exporter/meta/argument_specs.yml b/roles/blackbox_exporter/meta/argument_specs.yml index 88b50125..c6d1adca 100644 --- a/roles/blackbox_exporter/meta/argument_specs.yml +++ b/roles/blackbox_exporter/meta/argument_specs.yml @@ -20,7 +20,7 @@ argument_specs: description: - Download and install the Blackbox Explorer (blackbox_exporter) for Prometheus. author: Cloudera Labs - version_added: 5.0.0 + version_added: 3.0.0 options: blackbox_tarball_url: description: Blackbox distribution URL diff --git a/roles/common/meta/argument_specs.yml b/roles/common/meta/argument_specs.yml new file mode 100644 index 00000000..eea4a1a8 --- /dev/null +++ b/roles/common/meta/argument_specs.yml @@ -0,0 +1,23 @@ +# Copyright 2025 Cloudera, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- + +argument_specs: + main: + short_description: Common configuration + description: + - DEPRECATED + author: Cloudera Labs + version_added: 1.0.0 diff --git a/roles/data/meta/argument_specs.yml b/roles/data/meta/argument_specs.yml new file mode 100644 index 00000000..6fc50a27 --- /dev/null +++ b/roles/data/meta/argument_specs.yml @@ -0,0 +1,23 @@ +# Copyright 2025 Cloudera, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- + +argument_specs: + main: + short_description: Data + description: + - DEPRECATED + author: Cloudera Labs + version_added: 1.0.0 diff --git a/roles/dynamic_inventory/meta/argument_specs.yml b/roles/dynamic_inventory/meta/argument_specs.yml new file mode 100644 index 00000000..5dadc294 --- /dev/null +++ b/roles/dynamic_inventory/meta/argument_specs.yml @@ -0,0 +1,23 @@ +# Copyright 2025 Cloudera, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- + +argument_specs: + main: + short_description: Dynamic inventory + description: + - DEPRECATED + author: Cloudera Labs + version_added: 2.0.0 diff --git a/roles/freeipa_client/meta/argument_specs.yml b/roles/freeipa_client/meta/argument_specs.yml index 51670293..75bde075 100644 --- a/roles/freeipa_client/meta/argument_specs.yml +++ b/roles/freeipa_client/meta/argument_specs.yml @@ -22,7 +22,7 @@ argument_specs: - Install either defined or default FreeIPA client packages. - Optionally, configure SSSD to enumerate users and groups. author: Cloudera Labs - version_added: "3.0.0" + version_added: "2.0.0" options: freeipa_client_packages: description: diff --git a/roles/freeipa_host_group/meta/argument_specs.yml b/roles/freeipa_host_group/meta/argument_specs.yml new file mode 100644 index 00000000..4cc55c77 --- /dev/null +++ b/roles/freeipa_host_group/meta/argument_specs.yml @@ -0,0 +1,23 @@ +# Copyright 2025 Cloudera, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- + +argument_specs: + main: + short_description: FreeIPA host inventory + description: + - DEPRECATED + author: Cloudera Labs + version_added: 1.2.0 diff --git a/roles/freeipa_server/meta/argument_specs.yml b/roles/freeipa_server/meta/argument_specs.yml index 73ea27b7..65b22131 100644 --- a/roles/freeipa_server/meta/argument_specs.yml +++ b/roles/freeipa_server/meta/argument_specs.yml @@ -20,6 +20,7 @@ argument_specs: Set up FreeIPA server with support for DNS, Kerberos, TLS, and LDAP. Optionally, install the FreeIPA server packages. author: Cloudera Labs + version_added: "2.0.0" options: freeipa_server_packages: description: diff --git a/roles/grafana/meta/argument_specs.yml b/roles/grafana/meta/argument_specs.yml index 1e5e5902..04eb520e 100644 --- a/roles/grafana/meta/argument_specs.yml +++ b/roles/grafana/meta/argument_specs.yml @@ -19,6 +19,7 @@ argument_specs: description: | Set up Grafana server, connected to a Prometheus server. author: Cloudera Labs + version_added: "2.4.0" options: grafana_datasource_directory: description: diff --git a/roles/info/meta/argument_specs.yml b/roles/info/meta/argument_specs.yml new file mode 100644 index 00000000..abf2fe45 --- /dev/null +++ b/roles/info/meta/argument_specs.yml @@ -0,0 +1,23 @@ +# Copyright 2025 Cloudera, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- + +argument_specs: + main: + short_description: Info + description: + - DEPRECATED + author: Cloudera Labs + version_added: 1.0.0 diff --git a/roles/infrastructure/meta/argument_specs.yml b/roles/infrastructure/meta/argument_specs.yml new file mode 100644 index 00000000..349e152c --- /dev/null +++ b/roles/infrastructure/meta/argument_specs.yml @@ -0,0 +1,23 @@ +# Copyright 2025 Cloudera, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- + +argument_specs: + main: + short_description: Infrastructure + description: + - DEPRECATED + author: Cloudera Labs + version_added: 1.0.0 diff --git a/roles/init_deployment/meta/argument_specs.yml b/roles/init_deployment/meta/argument_specs.yml new file mode 100644 index 00000000..0c0ea70c --- /dev/null +++ b/roles/init_deployment/meta/argument_specs.yml @@ -0,0 +1,23 @@ +# Copyright 2025 Cloudera, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- + +argument_specs: + main: + short_description: Configuration init + description: + - DEPRECATED + author: Cloudera Labs + version_added: 2.0.0 diff --git a/roles/mount/meta/argument_specs.yml b/roles/mount/meta/argument_specs.yml index 04dcb99e..61b45556 100644 --- a/roles/mount/meta/argument_specs.yml +++ b/roles/mount/meta/argument_specs.yml @@ -19,6 +19,7 @@ argument_specs: Create, format, and mount an LVM partition for a specified storage volume. Includes the installation of the LVM2 OS package. author: Cloudera Labs + version_added: "2.0.1" options: mount_volumes: description: diff --git a/roles/node_exporter/meta/argument_specs.yml b/roles/node_exporter/meta/argument_specs.yml index 52ece15c..6ca7923f 100644 --- a/roles/node_exporter/meta/argument_specs.yml +++ b/roles/node_exporter/meta/argument_specs.yml @@ -20,7 +20,7 @@ argument_specs: description: - Download and install the Node Exporter (node_exporter) for Prometheus. author: Cloudera Labs - version_added: 5.0.0 + version_added: 3.0.0 options: node_exporter_directory: description: Configuration directory diff --git a/roles/nodeexporter/meta/argument_specs.yml b/roles/nodeexporter/meta/argument_specs.yml index 52ece15c..7718bf06 100644 --- a/roles/nodeexporter/meta/argument_specs.yml +++ b/roles/nodeexporter/meta/argument_specs.yml @@ -20,7 +20,7 @@ argument_specs: description: - Download and install the Node Exporter (node_exporter) for Prometheus. author: Cloudera Labs - version_added: 5.0.0 + version_added: "2.4.0" options: node_exporter_directory: description: Configuration directory diff --git a/roles/platform/meta/argument_specs.yml b/roles/platform/meta/argument_specs.yml new file mode 100644 index 00000000..accbb4ed --- /dev/null +++ b/roles/platform/meta/argument_specs.yml @@ -0,0 +1,23 @@ +# Copyright 2025 Cloudera, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- + +argument_specs: + main: + short_description: Platform + description: + - DEPRECATED + author: Cloudera Labs + version_added: 1.0.0 diff --git a/roles/prometheus/meta/argument_specs.yml b/roles/prometheus/meta/argument_specs.yml index 3efff1b6..dc84b17b 100644 --- a/roles/prometheus/meta/argument_specs.yml +++ b/roles/prometheus/meta/argument_specs.yml @@ -22,6 +22,7 @@ argument_specs: - Set up the service user and group. - Install a basic configuration. author: Cloudera Labs + version_added: "2.4.0" options: prometheus_tarball_url: description: URL to the Prometheus distribution archive file. diff --git a/roles/provision/meta/argument_specs.yml b/roles/provision/meta/argument_specs.yml new file mode 100644 index 00000000..4ce976f3 --- /dev/null +++ b/roles/provision/meta/argument_specs.yml @@ -0,0 +1,23 @@ +# Copyright 2025 Cloudera, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- + +argument_specs: + main: + short_description: Provision + description: + - DEPRECATED + author: Cloudera Labs + version_added: "2.0.1" diff --git a/roles/rdbms/client/mysql_connector/meta/argument_specs.yml b/roles/rdbms/client/mysql_connector/meta/argument_specs.yml new file mode 100644 index 00000000..975eb373 --- /dev/null +++ b/roles/rdbms/client/mysql_connector/meta/argument_specs.yml @@ -0,0 +1,23 @@ +# Copyright 2025 Cloudera, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- + +argument_specs: + main: + short_description: MySQL + description: + - DEPRECATED + author: Cloudera Labs + version_added: 3.0.0 diff --git a/roles/rdbms/client/oracle_connector/meta/argument_specs.yml b/roles/rdbms/client/oracle_connector/meta/argument_specs.yml new file mode 100644 index 00000000..35f58322 --- /dev/null +++ b/roles/rdbms/client/oracle_connector/meta/argument_specs.yml @@ -0,0 +1,23 @@ +# Copyright 2025 Cloudera, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- + +argument_specs: + main: + short_description: Oracle + description: + - DEPRECATED + author: Cloudera Labs + version_added: 3.0.0 diff --git a/roles/rdbms/client/postgresql_connector/meta/argument_specs.yml b/roles/rdbms/client/postgresql_connector/meta/argument_specs.yml new file mode 100644 index 00000000..ce97e4d9 --- /dev/null +++ b/roles/rdbms/client/postgresql_connector/meta/argument_specs.yml @@ -0,0 +1,23 @@ +# Copyright 2025 Cloudera, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- + +argument_specs: + main: + short_description: PostgreSQL + description: + - DEPRECATED + author: Cloudera Labs + version_added: 3.0.0 diff --git a/roles/rdbms/server/meta/argument_specs.yml b/roles/rdbms/server/meta/argument_specs.yml index a9d6c6fd..70c617a6 100644 --- a/roles/rdbms/server/meta/argument_specs.yml +++ b/roles/rdbms/server/meta/argument_specs.yml @@ -21,6 +21,7 @@ argument_specs: - Install and configure a standalone RDBMS instance for use with Cloudera Manager. - Database options include PostgreSQL, MySQL, and MariaDB. - Supports TLS connections. + version_added: "3.0.0" options: database_tls: description: Flag to enable TLS configuration. diff --git a/roles/rdbms_server/meta/argument_specs.yml b/roles/rdbms_server/meta/argument_specs.yml index f3821f5f..d2b9faec 100644 --- a/roles/rdbms_server/meta/argument_specs.yml +++ b/roles/rdbms_server/meta/argument_specs.yml @@ -21,6 +21,7 @@ argument_specs: - Install and configure a standalone RDBMS instance for use with Cloudera Manager. - Database options include PostgreSQL, MySQL, and MariaDB. - Supports TLS connections. + version_added: "3.0.0" options: database_tls: description: Flag to enable TLS configuration. diff --git a/roles/runtime/meta/argument_specs.yml b/roles/runtime/meta/argument_specs.yml new file mode 100644 index 00000000..c64beaba --- /dev/null +++ b/roles/runtime/meta/argument_specs.yml @@ -0,0 +1,23 @@ +# Copyright 2025 Cloudera, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- + +argument_specs: + main: + short_description: Runtime + description: + - DEPRECATED + author: Cloudera Labs + version_added: 1.0.0 diff --git a/roles/sequence/meta/argument_specs.yml b/roles/sequence/meta/argument_specs.yml new file mode 100644 index 00000000..3f9c773e --- /dev/null +++ b/roles/sequence/meta/argument_specs.yml @@ -0,0 +1,23 @@ +# Copyright 2025 Cloudera, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- + +argument_specs: + main: + short_description: Sequence + description: + - DEPRECATED + author: Cloudera Labs + version_added: 1.0.0 diff --git a/roles/sudoers/meta/argument_specs.yml b/roles/sudoers/meta/argument_specs.yml new file mode 100644 index 00000000..28bf43e2 --- /dev/null +++ b/roles/sudoers/meta/argument_specs.yml @@ -0,0 +1,23 @@ +# Copyright 2025 Cloudera, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +--- + +argument_specs: + main: + short_description: Sudoers + description: + - DEPRECATED + author: Cloudera Labs + version_added: 1.2.0 diff --git a/roles/sudoers/tasks/main.yml b/roles/sudoers/tasks/main.yml index ee492d9b..758ccb69 100644 --- a/roles/sudoers/tasks/main.yml +++ b/roles/sudoers/tasks/main.yml @@ -13,6 +13,12 @@ # See the License for the specific language governing permissions and # limitations under the License. +- name: Deprecation warning + run_once: true + cloudera.exe.deprecation: + msg: "Role, {{ ansible_role_name }}, is no longer supported." + version: 4.0.0 + # If don't want to purge existing users (and groups) from the FreeIPA sudo rule, # we'll query the rule to get current users (and groups) - name: Query sudoers group for list of users diff --git a/roles/sudoers/tasks/teardown.yml b/roles/sudoers/tasks/teardown.yml index 35a815a9..071fab0f 100644 --- a/roles/sudoers/tasks/teardown.yml +++ b/roles/sudoers/tasks/teardown.yml @@ -13,6 +13,12 @@ # See the License for the specific language governing permissions and # limitations under the License. +- name: Deprecation warning + run_once: true + cloudera.exe.deprecation: + msg: "Role, {{ ansible_role_name }}, is no longer supported." + version: 4.0.0 + # Remove the FreeIPA sudo rule - name: Remove sudo rule for passwordless sudo community.general.ipa_sudorule: diff --git a/roles/tls_fetch_ca_certs/meta/argument_specs.yml b/roles/tls_fetch_ca_certs/meta/argument_specs.yml index 7489d4b2..5f1330ef 100644 --- a/roles/tls_fetch_ca_certs/meta/argument_specs.yml +++ b/roles/tls_fetch_ca_certs/meta/argument_specs.yml @@ -21,6 +21,7 @@ argument_specs: - Fetch the named root and intermediate CA TLS Certificates from the CA Server. author: - "Jim Enright " + version_added: "3.0.0" options: ca_server_intermediate_path: description: "Path to intermediate CA cert on the CA server" diff --git a/roles/tls_generate_csr/meta/argument_specs.yml b/roles/tls_generate_csr/meta/argument_specs.yml index e8ae5934..4cc59c2a 100644 --- a/roles/tls_generate_csr/meta/argument_specs.yml +++ b/roles/tls_generate_csr/meta/argument_specs.yml @@ -22,6 +22,7 @@ argument_specs: - Once created the CSR file is copied back to the Ansibles controller. author: - "Jim Enright " + version_added: "3.0.0" options: base_dir_security: description: "Base directory for Cloudera CDP security related files" diff --git a/roles/tls_install_certs/meta/argument_specs.yml b/roles/tls_install_certs/meta/argument_specs.yml index a5ba108a..6be29372 100644 --- a/roles/tls_install_certs/meta/argument_specs.yml +++ b/roles/tls_install_certs/meta/argument_specs.yml @@ -22,6 +22,7 @@ argument_specs: - Updates the Java keystore with the renewed certificate author: - "Jim Enright " + version_added: "3.0.0" options: openssl_path: description: "Absolute path to the C(openssl) executable" diff --git a/roles/tls_signing/meta/argument_specs.yml b/roles/tls_signing/meta/argument_specs.yml index c5e0746f..83d73c93 100644 --- a/roles/tls_signing/meta/argument_specs.yml +++ b/roles/tls_signing/meta/argument_specs.yml @@ -23,6 +23,7 @@ argument_specs: - Upon completion the signed certs are copied back to the Ansible controller. author: - "Jim Enright " + version_added: "3.0.0" options: csrs_to_sign: description: "List of full path locations of the CSRs to sign."