將動態庫存傳遞給 ansible-playbook

ansible-playbook -i path/to/dynamic-inventory-script.py -l myhost myplaybook.yml

有關詳細資訊,請參閱動態庫存