26.3. ファイルシステム内の Ansible ロールの場所
デフォルトでは、ansible-freeipa
ロールは /usr/share/ansible/collections/ansible_collections/freeipa/ansible_freeipa/roles/
ディレクトリーにインストールされます。ansible-freeipa
パッケージの構造は以下のとおりです。
/usr/share/ansible/collections/ansible_collections/freeipa/ansible_freeipa/roles/
ディレクトリーには、Ansible コントローラーのipaserver
、ipareplica
、ipaclient
、ipasmartcard
、およびipabackup
ロールが保存されています。各ロールのディレクトリーのREADME.md
マークダウンファイルに、例、基本的な概要、ライセンス、およびロールに関するドキュメントが保存されています。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 ipaserver
Copy to Clipboard Copied! Toggle word wrap Toggle overflow /usr/share/ansible/collections/ansible_collections/freeipa/ansible_freeipa/
ディレクトリーのREADME.md
マークダウンファイルには、個々のロールとトポロジーに関するドキュメントが保存されています。また、playbooks/
サブディレクトリーも保存されています。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