Skip to content

Commit c36138a

Browse files
authored
Deprecate data role (#232)
Signed-off-by: Webster Mudge <[email protected]>
1 parent f9be2c3 commit c36138a

File tree

4 files changed

+15
-29
lines changed

4 files changed

+15
-29
lines changed

.ansible-lint-ignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,8 @@ roles/auto_repo_mirror/tasks/update_mirror_cache.yml risky-file-permissions skip
2626
roles/auto_repo_mirror/vars/main.yml var-naming[no-role-prefix] skip
2727
roles/common/defaults/main.yml jinja[spacing][/] skip
2828
roles/common/defaults/main.yml yaml[line-length] skip
29+
roles/data/tasks/initialize.yml yaml[line-length] skip
30+
roles/data/tasks/main.yml name[missing][/] skip
31+
roles/data/tasks/setup_aws.yml risky-file-permissions skip
32+
roles/data/tasks/setup_aws.yml yaml[line-length] skip
33+
roles/data/tasks/teardown_aws_policies.yml yaml[line-length] skip

meta/runtime.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,7 @@ plugin_routing:
4141
deprecation:
4242
removal_version: 4.0.0
4343
warning_text: Role, common, is not longer supported.
44+
data:
45+
deprecation:
46+
removal_version: 4.0.0
47+
warning_text: Role, data, is not longer supported.

roles/data/meta/main.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +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-
Management of cloud provider roles and policies supporting external data locations
20-
for Cloudera Data Platform (CDP) Public Cloud deployments and Environment.
21-
company: Cloudera
22-
license: Apache-2.0
23-
24-
min_ansible_version: 2.10
25-
26-
platforms:
27-
- name: Debian
28-
versions: all
29-
- name: Fedora
30-
versions: all
31-
- name: GenericLinux
32-
versions: all
33-
- name: MacOSX
34-
versions: all
35-
- name: Ubuntu
36-
versions: all
37-
38-
galaxy_tags:
39-
- cloudera
40-
- cdp
41-
- aws
42-
- gcloud
43-
- azure
44-
4516
dependencies: ["cloudera.exe.common"]

roles/data/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.yml
1824
- ansible.builtin.include_tasks: setup.yml

0 commit comments

Comments
 (0)