- create inventory file sbercloud_vm_inventory.yml with contents:
plugin: sbercloud.dynamic_inventory.sbercloud_vm_inventory
project_id: put sbercloud project id here
- set env variables:
export access_key_id=ACCESS_KEY_ID
export secret_access_key=SECRET_ACCESS_KEY
- run
ansible-inventory -i sbercloud_vm_inventory.yml --list