26.4. 在文件系统中的 Ansible 角色位置
默认情况下,ansible-freeipa 角色被安装到 /usr/share/ansible/collections/ansible_collections/freeipa/ansible_freeipa/roles/ 目录中。ansible-freeipa 软件包的结构如下:
/usr/share/ansible/collections/ansible_collections/ansible_freeipa/roles/目录在 Ansible 控制器上存储ipaserver,ipareplica,ipaclient,ipasmartcard和ipabackup角色。每个角色目录都会在README.mdMarkdown 文件中存储有关角色的示例、基本概述、许可证和文档。ls -1 /usr/share/ansible/collections/ansible_collections/freeipa/ansible_freeipa/roles
[root@server]# ls -1 /usr/share/ansible/collections/ansible_collections/freeipa/ansible_freeipa/roles ipaclient ipareplica ipaserverCopy to Clipboard Copied! Toggle word wrap Toggle overflow /usr/share/ansible/collections/ansible_collections/freeipa/ansible_freeipa/目录将有关各个角色和拓扑的文档存储在README.mdMarkdown 文件中。它还存储playbook/子目录。Copy to Clipboard Copied! Toggle word wrap Toggle overflow /usr/share/ansible/collections/ansible_collections/freeipa/ansible_freeipa/playbooks/目录存储示例 playbook:Copy to Clipboard Copied! Toggle word wrap Toggle overflow