将动态库存传递给 ansible-playbook

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

有关详细信息,请参阅动态库存