diff --git a/.ansible-lint-ignore b/.ansible-lint-ignore index 976ce8ef..b8d08596 100644 --- a/.ansible-lint-ignore +++ b/.ansible-lint-ignore @@ -39,3 +39,48 @@ 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 +roles/infrastructure/defaults/main.yml var-naming[no-role-prefix] skip +roles/infrastructure/defaults/main.yml jinja[spacing][/] skip +roles/infrastructure/defaults/main.yml yaml[line-length] skip +roles/infrastructure/defaults/main.yml yaml[comments][/] skip +roles/infrastructure/tasks/initialize_aws.yml yaml[line-length] skip +roles/infrastructure/tasks/initialize_aws.yml no-changed-when skip +roles/infrastructure/tasks/initialize_aws_terraform.yml risky-file-permissions skip +roles/infrastructure/tasks/initialize_azure.yml jinja[spacing][/] skip +roles/infrastructure/tasks/initialize_azure.yml no-changed-when skip +roles/infrastructure/tasks/initialize_base.yml ignore-errors skip +roles/infrastructure/tasks/initialize_gcp.yml no-changed-when skip +roles/infrastructure/tasks/initialize_setup_aws.yml no-changed-when skip +roles/infrastructure/tasks/initialize_setup_aws.yml yaml[line-length] skip +roles/infrastructure/tasks/initialize_teardown_aws.yml no-changed-when skip +roles/infrastructure/tasks/initialize_teardown_aws.yml yaml[comments][/] skip +roles/infrastructure/tasks/initialize_teardown_aws_terraform.yml risky-file-permissions skip +roles/infrastructure/tasks/main.yml name[missing][/] skip +roles/infrastructure/tasks/setup_aws.yml risky-file-permissions skip +roles/infrastructure/tasks/setup_aws_compute.yml jinja[spacing][/] skip +roles/infrastructure/tasks/setup_aws_compute.yml yaml[line-length] skip +roles/infrastructure/tasks/setup_aws_compute.yml name[template][/] skip +roles/infrastructure/tasks/setup_aws_network.yml no-changed-when skip +roles/infrastructure/tasks/setup_aws_network.yml yaml[comments][/] skip +roles/infrastructure/tasks/setup_aws_network_prefix_list.yml no-changed-when skip +roles/infrastructure/tasks/setup_aws_storage.yml no-changed-when skip +roles/infrastructure/tasks/setup_aws_utility_service.yml no-changed-when skip +roles/infrastructure/tasks/setup_azure_network.yml ignore-errors skip +roles/infrastructure/tasks/setup_azure_network.yml no-changed-when skip +roles/infrastructure/tasks/setup_azure_network.yml jinja[spacing][/] skip +roles/infrastructure/tasks/setup_gcp_network.yml no-changed-when skip +roles/infrastructure/tasks/setup_terraform.yml risky-file-permissions skip +roles/infrastructure/tasks/teardown_aws_compute.yml no-changed-when skip +roles/infrastructure/tasks/teardown_aws_network.yml no-changed-when skip +roles/infrastructure/tasks/teardown_aws_network.yml yaml[comments][/] skip +roles/infrastructure/tasks/teardown_gcp_network.yml no-changed-when skip +roles/infrastructure/tasks/teardown_gcp_storage.yml no-changed-when skip +roles/infrastructure/tasks/teardown_terraform.yml risky-file-permissions skip +roles/infrastructure/tasks/validate_aws.yml no-changed-when skip +roles/infrastructure/tasks/validate_aws.yml yaml[comments][/] skip +roles/infrastructure/tasks/validate_aws_terraform.yml no-changed-when skip +roles/infrastructure/tasks/validate_aws_terraform.yml yaml[line-length] skip +roles/infrastructure/tasks/validate_azure.yml yaml[line-length] skip +roles/infrastructure/tests/test.yml syntax-check[specific][/] skip +roles/infrastructure/vars/main.yml var-naming[no-role-prefix] skip +roles/infrastructure/vars/main.yml jinja[spacing][/] skip diff --git a/meta/runtime.yml b/meta/runtime.yml index 5b19f1d7..7fdd8af3 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -57,3 +57,7 @@ plugin_routing: deprecation: removal_version: 4.0.0 warning_text: Role, info, is not longer supported. + infrastructure: + deprecation: + removal_version: 4.0.0 + warning_text: Role, infrastructure, is not longer supported. diff --git a/roles/infrastructure/meta/main.yml b/roles/infrastructure/meta/main.yml index 37f5c746..064cfd4e 100644 --- a/roles/infrastructure/meta/main.yml +++ b/roles/infrastructure/meta/main.yml @@ -13,36 +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: > - Deployment and management of cloud provider and/or infrastucture provider - artifacts for Cloudera Data Platform (CDP) Public Cloud and Private Cloud, - including Private Cloud Base, in addition to artifacts required for auxillary - services, e.g. Keycloak, external data locations. - 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 - - openstack - dependencies: ["cloudera.exe.common"] diff --git a/roles/infrastructure/tasks/main.yml b/roles/infrastructure/tasks/main.yml index 61082f58..45b1570a 100644 --- a/roles/infrastructure/tasks/main.yml +++ b/roles/infrastructure/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 + - ansible.builtin.include_tasks: validate.yml - ansible.builtin.include_tasks: initialize_setup.yml - ansible.builtin.include_tasks: setup.yml