Skip to content

Commit 60ec4b7

Browse files
authored
Deprecate init_deployment role (#237)
Signed-off-by: Webster Mudge <[email protected]>
1 parent 137e35a commit 60ec4b7

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.ansible-lint-ignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,11 @@ roles/infrastructure/tasks/validate_azure.yml yaml[line-length] skip
8484
roles/infrastructure/tests/test.yml syntax-check[specific][/] skip
8585
roles/infrastructure/vars/main.yml var-naming[no-role-prefix] skip
8686
roles/infrastructure/vars/main.yml jinja[spacing][/] skip
87+
roles/init_deployment/defaults/main.yml var-naming[no-role-prefix] skip
88+
roles/init_deployment/tasks/marshall.yml name[template][/] skip
89+
roles/init_deployment/tasks/marshall.yml jinja[invalid][/] skip
90+
roles/init_deployment/tasks/runlevels.yml yaml[line-length] skip
91+
roles/init_deployment/tasks/validate.yml no-jinja-when skip
92+
roles/init_deployment/vars/basic_cluster.yml schema[vars][/] skip
93+
roles/init_deployment/vars/basic_cluster.yml var-naming[no-role-prefix] skip
94+
roles/init_deployment/vars/basic_cluster.yml var-naming[no-reserved] skip

meta/runtime.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,7 @@ plugin_routing:
6161
deprecation:
6262
removal_version: 4.0.0
6363
warning_text: Role, infrastructure, is not longer supported.
64+
init_deployment:
65+
deprecation:
66+
removal_version: 4.0.0
67+
warning_text: Role, init_deployment, is not longer supported.

roles/init_deployment/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: Marshall Deployment Definition
1723
ansible.builtin.include_tasks: marshall.yml
1824

0 commit comments

Comments
 (0)