StackOverflow 文档 Ansible 教程 库存 将动态库存传递给 ansible-playbook 将动态库存传递给 ansible-playbook Created: November-22, 2018 ansible-playbook -i path/to/dynamic-inventory-script.py -l myhost myplaybook.yml 有关详细信息,请参阅动态库存 主机文件将静态库存传递给 ansible-playbook