StackOverflow 文档 Ansible 教程 库存 将静态库存传递给 ansible-playbook 将静态库存传递给 ansible-playbook Created: November-22, 2018 ansible-playbook -i path/to/static-inventory-file -l myhost myplaybook.yml 将动态库存传递给 ansible-playbook使用自定义 SSH 端口的库存