rest_cli cannot get the output of "security key-manager onboard show-backup". Below is my snippet of ansible play:
- name: Get the OKM backup key
connection: local
na_ontap_rest_cli:
<<: *login
# use_rest: always
verb: "GET"
command: "security/key-manager/onboard/show-backup"
register: backup_info
tags:
- backup
but output is empty, why?
TASK [Get the OKM backup key] ***************************************************************************
ok: [scc44.sc.intel.com]
TASK [print] ********************************************************************************************
ok: [scc44.sc.intel.com] => {
"backup_info": { "changed": false, "failed": false,
"msg": {
"num_records": 0,
"records": [] } } }