#Unable to set new password using ```na_ontap_user```

1 messages · Page 1 of 1 (latest)

neon pendant
#

Hello, I have a module to set a new password but it worked only one time. On a second try to reset the password, ansible reported "OK" but password is not changed. Is this intended? How can I force this module to set new password?

    - name: set password based on given variables
      netapp.ontap.na_ontap_user:
        <<: *login
        vserver: "{{ inventory_hostname }}"
        set_password: 'Secure!Password#2838'  
        name: testuser                 
        role_name: "{{ role | default(omit) }}"
#

I think I found the issue. Seems my password contained a some magic terms such as 'Secure' or '#' or '!' which was causing somthing.