I am installing licenses with legacy 28-char license codes. With play like:
- name: Add licenses
na_ontap_license:
state: present
license_codes: "{{ licenses }}"
<<: *login
tags:
- license
After run the play, got these errors:
TASK [Add licenses] *********************************************************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error: mismatch in license package names: 'fabricpool'. Expected: dict_keys(['installed_licenses', 'base', 'nfs', 'cifs', 'iscsi', 'fcp', 'snaprestore', 'snapmirror', 'flexclone', 'snapvault', 'snaplock', 'snapmanagersuite', 'snapprotectapps', 'v_storageattach', 'insight_balance', 'ocshift', 'tpm', 've', 'dp_optimized', 'fabricpool', 'snapmirror_sync']), found: dict_keys(['installed_licenses', 'base', 'nfs', 'cifs', 'iscsi', 'fcp', 'snaprestore', 'snapmirror', 'flexclone', 'snapvault', 'snaplock', 'snapmanagersuite', 'snapprotectapps', 'v_storageattach', 'insight_balance', 'ocshift', 'tpm', 've', 'dp_optimized'])."}
Howevever, looking at filer side with system license show -owner {node}, it seems all licenses were installed successfully.
What's causing the complaint? My filer os is 9.10.1P12. netapp ansible collection 22.5.0.