Skip to content

Commit 472e7f7

Browse files
authored
Deprecate sequence role (#243)
Signed-off-by: Webster Mudge <[email protected]>
1 parent 7cafcee commit 472e7f7

File tree

3 files changed

+10
-26
lines changed

3 files changed

+10
-26
lines changed

meta/runtime.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,7 @@ plugin_routing:
9292
deprecation:
9393
removal_version: 4.0.0
9494
warning_text: Role, runtime, is not longer supported.
95+
sequence:
96+
deprecation:
97+
removal_version: 4.0.0
98+
warning_text: Role, sequence, is not longer supported.

roles/sequence/meta/main.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +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-
Runlevel execution using tags for deploying and managing Cloudera Data Platform
20-
(CDP) Public Cloud.
21-
company: Cloudera, Inc.
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-
4216
dependencies: ["cloudera.exe.common"]

roles/sequence/tasks/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515

1616
# Sequential management (individual tasks that execute implicit runlevel dependencies and order-of-operations)
1717

18+
- name: Deprecation warning
19+
run_once: true
20+
cloudera.exe.deprecation:
21+
msg: "Role, {{ ansible_role_name }}, is no longer supported."
22+
version: 4.0.0
23+
1824
- name: Validate Infrastructure Configuration
1925
ansible.builtin.include_role:
2026
name: cloudera.exe.infrastructure

0 commit comments

Comments
 (0)