intersight-ansible
intersight-ansible copied to clipboard
Programmatically retrieve 'SecurityToken' from C220/240 rack servers?
I was reading through https://github.com/CiscoDevNet/intersight-ansible/blob/master/playbooks/claim_device.yml#L26 -- is it possible to pull that value programmatically from the server?
I didn't have much luck looking through the rack API, I also looked at the /appliance/DeviceClaim
API for Intersight which seems like it would try to connect to the device in question to pull that token, but wasn't able to get that working.
Thanks, Tim