I have not encountered this, the license codes are valid, but got errors like:
TASK [Add licenses] *****************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "calling: cluster/licensing/licenses: got {'message': 'Installed the first 11 licenses. Failed to install the license at index 11 (keys[11]). Reason: License addition failed.', 'code': '1115131', 'target': 'keys'}."}
my playbook:
- name: Add licenses
na_ontap_license:
state: present
license_codes: "{{ licenses }}"
<<: *login
tags:
- license
Funny thing is if I add license manually on the index 11, I got the msg:
atc01::> license add YZIISLIMISBTEEUQECCAAAAAAAAA
(system license add)
NLFv2 License for package "CIFS" is already installed. There is no need to install a 28-character License Key.
Error: command failed: License addition failed.
But add other licenses works with ansible and manual command. I have never encountered this before. Is the NLFv2 cause this issue?