#NetApp API failed. Reason - Unexpected error:UnicodeError

1 messages · Page 1 of 1 (latest)

weak coyote
#

Hello, I'm getting below error when I try to execute ansible playbook to create a role for an user.

"encoding with 'dna' codec failed (UnicodeError: label too long)". Any help is greatly appreaciated

Below variables are being called from parent playbook and I'm executing below task as child playbook from parent playbook

  • name: Create User Role Zapi
    na_ontap_user_role:
    state: present
    name: "{{ item.role_name }}"
    command_directory_name: "{{ item.role_cmd }}"
    access_level: "{{ item.role_access }}"
    query: show
    vserver: "{{ array }}"
    hostname: "{{ array }}"
    username: "{{ username }}"
    password: "{{ current_password }}"
    https: true
    validate_certs: false
    with_items: "{{ role_create }}"
errant yacht