Merge "Allow empty list of enabled_roles"
This commit is contained in:
commit
897a03f0ad
|
@ -1,6 +1,6 @@
|
|||
# certain initialization steps (run in a container) will occur
|
||||
# on the role marked as primary controller or the first role listed
|
||||
{%- if enabled_roles is not defined -%}
|
||||
{%- if enabled_roles is not defined or enabled_roles == [] -%}
|
||||
# On upgrade certain roles can be disabled for operator driven upgrades
|
||||
# See major_upgrade_steps.j2.yaml and post-upgrade.j2.yaml
|
||||
{%- set enabled_roles = roles -%}
|
||||
|
|
Loading…
Reference in New Issue