-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
By default, nexus_default_role variable is assigned the value of "", this will throw an error:
"javax.script.ScriptException: javax.validation.ConstraintViolationException: Validation failed; 1 constraints violated"
tasks/main.yml:
- name: Configure Default Role capability
ansible.builtin.include_tasks: call_script.yml
vars:
script_name: setup_capability
call_args:
capability_typeId: defaultrole
capability_enabled: "{{ (nexus_default_role | length > 0) }}"
capability_properties:
role: "{{ nexus_default_role }}"
This is fixed by setting nexus_default_role: "nx-anonymous", but this should be a default setting in defaults/main.yml or there should be a when: nexus_default_role | length > 0 statement for that task.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels