mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-08 14:32:09 -03:30
Add compat and deprecation warning for kubespray-defaults
This commit is contained in:
parent
7db2aa1cba
commit
4052cd5237
10
roles/kubespray-defaults/tasks/main.yml
Normal file
10
roles/kubespray-defaults/tasks/main.yml
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: Warn for usage of deprecated role
|
||||
fail:
|
||||
msg: kubespray-defaults is deprecated, switch to kubespray_defaults
|
||||
ignore_errors: true # noqa ignore-errors
|
||||
run_once: true
|
||||
|
||||
- name: Compat for direct role import
|
||||
import_role:
|
||||
name: kubespray_defaults
|
||||
Loading…
x
Reference in New Issue
Block a user