diff --git a/.ansible-lint-ignore b/.ansible-lint-ignore index f9e20f0d..976ce8ef 100644 --- a/.ansible-lint-ignore +++ b/.ansible-lint-ignore @@ -37,3 +37,5 @@ roles/dynamic_inventory/tasks/create_static_inventory.yml risky-file-permissions roles/dynamic_inventory/tasks/create_static_inventory.yml jinja[spacing][/] skip roles/dynamic_inventory/tasks/refresh_inventory.yml risky-file-permissions skip roles/dynamic_inventory/tasks/retire_static_inventory.yml risky-file-permissions skip +roles/info/tasks/main.yml risky-file-permissions skip +roles/info/tasks/main.yml jinja[spacing][/] skip diff --git a/meta/runtime.yml b/meta/runtime.yml index c8f1f97f..5b19f1d7 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -53,3 +53,7 @@ plugin_routing: deprecation: removal_version: 4.0.0 warning_text: Role, freeipa_host_group, is not longer supported. + info: + deprecation: + removal_version: 4.0.0 + warning_text: Role, info, is not longer supported. diff --git a/roles/info/meta/main.yml b/roles/info/meta/main.yml index 2f6674b9..064cfd4e 100644 --- a/roles/info/meta/main.yml +++ b/roles/info/meta/main.yml @@ -13,33 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -galaxy_info: - author: Webster Mudge (wmudge@cloudera.com) - description: > - Collection and publishing of available services and general information for Cloudera Data - Platform (CDP) Public Cloud or Private Cloud deployments. - company: Cloudera - license: Apache-2.0 - - min_ansible_version: 2.10 - - platforms: - - name: Debian - versions: all - - name: Fedora - versions: all - - name: GenericLinux - versions: all - - name: MacOSX - versions: all - - name: Ubuntu - versions: all - - galaxy_tags: - - cloudera - - cdp - - aws - - gcloud - - azure - dependencies: ["cloudera.exe.common"] diff --git a/roles/info/tasks/main.yml b/roles/info/tasks/main.yml index 17a843a4..aa326db0 100644 --- a/roles/info/tasks/main.yml +++ b/roles/info/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 + - name: Ensure artifacts directory exists when: info__create_deployment_details and info__artifacts_directory | length > 0 block: