Skip to content

Commit 4c43944

Browse files
authored
Deprecate info role (#235)
Signed-off-by: Webster Mudge <wmudge@cloudera.com>
1 parent e7860c2 commit 4c43944

File tree

4 files changed

+12
-29
lines changed

4 files changed

+12
-29
lines changed

.ansible-lint-ignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ roles/dynamic_inventory/tasks/create_static_inventory.yml risky-file-permissions
3737
roles/dynamic_inventory/tasks/create_static_inventory.yml jinja[spacing][/] skip
3838
roles/dynamic_inventory/tasks/refresh_inventory.yml risky-file-permissions skip
3939
roles/dynamic_inventory/tasks/retire_static_inventory.yml risky-file-permissions skip
40+
roles/info/tasks/main.yml risky-file-permissions skip
41+
roles/info/tasks/main.yml jinja[spacing][/] skip

meta/runtime.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,7 @@ plugin_routing:
5353
deprecation:
5454
removal_version: 4.0.0
5555
warning_text: Role, freeipa_host_group, is not longer supported.
56+
info:
57+
deprecation:
58+
removal_version: 4.0.0
59+
warning_text: Role, info, is not longer supported.

roles/info/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 (wmudge@cloudera.com)
18-
description: >
19-
Collection and publishing of available services and general information for Cloudera Data
20-
Platform (CDP) Public Cloud or Private Cloud deployments.
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/info/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
- name: Ensure artifacts directory exists
1723
when: info__create_deployment_details and info__artifacts_directory | length > 0
1824
block:

0 commit comments

Comments
 (0)