概括 ansible-inventory-grapher创建一个适合graphviz使用的点文件 要求: Ansible Graphviz 入门 pip install ansible-inventory-grapher 用法 Usage: ansible-inventory-grapher [options] pattern1 [pattern2...] Options: --version show program's version number and exit -h, --help show this help message and exit -i INVENTORY specify inventory host file [/etc/ansible/hosts] -d DIRECTORY