Skip to content

Commit 137e35a

Browse files
authored
Deprecate infrastructure role (#236)
Signed-off-by: Webster Mudge <[email protected]>
1 parent 4c43944 commit 137e35a

File tree

4 files changed

+55
-32
lines changed

4 files changed

+55
-32
lines changed

.ansible-lint-ignore

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,48 @@ roles/dynamic_inventory/tasks/refresh_inventory.yml risky-file-permissions skip
3939
roles/dynamic_inventory/tasks/retire_static_inventory.yml risky-file-permissions skip
4040
roles/info/tasks/main.yml risky-file-permissions skip
4141
roles/info/tasks/main.yml jinja[spacing][/] skip
42+
roles/infrastructure/defaults/main.yml var-naming[no-role-prefix] skip
43+
roles/infrastructure/defaults/main.yml jinja[spacing][/] skip
44+
roles/infrastructure/defaults/main.yml yaml[line-length] skip
45+
roles/infrastructure/defaults/main.yml yaml[comments][/] skip
46+
roles/infrastructure/tasks/initialize_aws.yml yaml[line-length] skip
47+
roles/infrastructure/tasks/initialize_aws.yml no-changed-when skip
48+
roles/infrastructure/tasks/initialize_aws_terraform.yml risky-file-permissions skip
49+
roles/infrastructure/tasks/initialize_azure.yml jinja[spacing][/] skip
50+
roles/infrastructure/tasks/initialize_azure.yml no-changed-when skip
51+
roles/infrastructure/tasks/initialize_base.yml ignore-errors skip
52+
roles/infrastructure/tasks/initialize_gcp.yml no-changed-when skip
53+
roles/infrastructure/tasks/initialize_setup_aws.yml no-changed-when skip
54+
roles/infrastructure/tasks/initialize_setup_aws.yml yaml[line-length] skip
55+
roles/infrastructure/tasks/initialize_teardown_aws.yml no-changed-when skip
56+
roles/infrastructure/tasks/initialize_teardown_aws.yml yaml[comments][/] skip
57+
roles/infrastructure/tasks/initialize_teardown_aws_terraform.yml risky-file-permissions skip
58+
roles/infrastructure/tasks/main.yml name[missing][/] skip
59+
roles/infrastructure/tasks/setup_aws.yml risky-file-permissions skip
60+
roles/infrastructure/tasks/setup_aws_compute.yml jinja[spacing][/] skip
61+
roles/infrastructure/tasks/setup_aws_compute.yml yaml[line-length] skip
62+
roles/infrastructure/tasks/setup_aws_compute.yml name[template][/] skip
63+
roles/infrastructure/tasks/setup_aws_network.yml no-changed-when skip
64+
roles/infrastructure/tasks/setup_aws_network.yml yaml[comments][/] skip
65+
roles/infrastructure/tasks/setup_aws_network_prefix_list.yml no-changed-when skip
66+
roles/infrastructure/tasks/setup_aws_storage.yml no-changed-when skip
67+
roles/infrastructure/tasks/setup_aws_utility_service.yml no-changed-when skip
68+
roles/infrastructure/tasks/setup_azure_network.yml ignore-errors skip
69+
roles/infrastructure/tasks/setup_azure_network.yml no-changed-when skip
70+
roles/infrastructure/tasks/setup_azure_network.yml jinja[spacing][/] skip
71+
roles/infrastructure/tasks/setup_gcp_network.yml no-changed-when skip
72+
roles/infrastructure/tasks/setup_terraform.yml risky-file-permissions skip
73+
roles/infrastructure/tasks/teardown_aws_compute.yml no-changed-when skip
74+
roles/infrastructure/tasks/teardown_aws_network.yml no-changed-when skip
75+
roles/infrastructure/tasks/teardown_aws_network.yml yaml[comments][/] skip
76+
roles/infrastructure/tasks/teardown_gcp_network.yml no-changed-when skip
77+
roles/infrastructure/tasks/teardown_gcp_storage.yml no-changed-when skip
78+
roles/infrastructure/tasks/teardown_terraform.yml risky-file-permissions skip
79+
roles/infrastructure/tasks/validate_aws.yml no-changed-when skip
80+
roles/infrastructure/tasks/validate_aws.yml yaml[comments][/] skip
81+
roles/infrastructure/tasks/validate_aws_terraform.yml no-changed-when skip
82+
roles/infrastructure/tasks/validate_aws_terraform.yml yaml[line-length] skip
83+
roles/infrastructure/tasks/validate_azure.yml yaml[line-length] skip
84+
roles/infrastructure/tests/test.yml syntax-check[specific][/] skip
85+
roles/infrastructure/vars/main.yml var-naming[no-role-prefix] skip
86+
roles/infrastructure/vars/main.yml jinja[spacing][/] skip

meta/runtime.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@ plugin_routing:
5757
deprecation:
5858
removal_version: 4.0.0
5959
warning_text: Role, info, is not longer supported.
60+
infrastructure:
61+
deprecation:
62+
removal_version: 4.0.0
63+
warning_text: Role, infrastructure, is not longer supported.

roles/infrastructure/meta/main.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
galaxy_info:
17-
author: Webster Mudge ([email protected])
18-
description: >
19-
Deployment and management of cloud provider and/or infrastucture provider
20-
artifacts for Cloudera Data Platform (CDP) Public Cloud and Private Cloud,
21-
including Private Cloud Base, in addition to artifacts required for auxillary
22-
services, e.g. Keycloak, external data locations.
23-
company: Cloudera
24-
license: Apache-2.0
25-
26-
min_ansible_version: 2.10
27-
28-
platforms:
29-
- name: Debian
30-
versions: all
31-
- name: Fedora
32-
versions: all
33-
- name: GenericLinux
34-
versions: all
35-
- name: MacOSX
36-
versions: all
37-
- name: Ubuntu
38-
versions: all
39-
40-
galaxy_tags:
41-
- cloudera
42-
- cdp
43-
- aws
44-
- gcloud
45-
- azure
46-
- openstack
47-
4816
dependencies: ["cloudera.exe.common"]

roles/infrastructure/tasks/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16+
- name: Deprecation warning
17+
run_once: true
18+
cloudera.exe.deprecation:
19+
msg: "Role, {{ ansible_role_name }}, is no longer supported."
20+
version: 4.0.0
21+
1622
- ansible.builtin.include_tasks: validate.yml
1723
- ansible.builtin.include_tasks: initialize_setup.yml
1824
- ansible.builtin.include_tasks: setup.yml

0 commit comments

Comments
 (0)