両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
linux:ansible [2024/02/08 09:51] – [ansible.cfgファイルの生成] ともやん | linux:ansible [2024/03/08 11:04] (現在) – [pipx によるインストール] ともやん |
---|
<WRAP color_term> | <WRAP color_term> |
<WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
<font color="#FF8700"><b>$</b></font> <font color="#4E9A06">pipx</font> uninstall <font color="#75507B">--include-deps</font> ansible | <font color="#FF8700"><b>$</b></font> <font color="#4E9A06">pipx</font> uninstall ansible |
<font color="#FF8700"><b>$</b></font> <font color="#4E9A06">pipx</font> uninstall ansible-core | <font color="#FF8700"><b>$</b></font> <font color="#4E9A06">pipx</font> uninstall ansible-core |
</pre></html></WRAP> | </pre></html></WRAP> |
</WRAP> | </WRAP> |
| |
===== ansible.cfgファイルの生成 ===== | ===== ansible.cfg 設定ファイルの生成 ===== |
公式: [[https://docs.ansible.com/ansible/latest/installation_guide/intro_configuration.html|Configuring Ansible — Ansible Documentation]] [[gtr>https://docs.ansible.com/ansible/latest/installation_guide/intro_configuration.html|翻訳]]\\ | 公式: [[https://docs.ansible.com/ansible/latest/installation_guide/intro_configuration.html|Configuring Ansible — Ansible Documentation]] [[gtr>https://docs.ansible.com/ansible/latest/installation_guide/intro_configuration.html|翻訳]]\\ |
<WRAP color_term> | <WRAP color_term> |
</code></WRAP> | </code></WRAP> |
</WRAP> | </WRAP> |
| |
| ==== 設定ファイルの検索順序 ==== |
| 公式: [[https://docs.ansible.com/ansible/latest/reference_appendices/config.html|Ansible Configuration Settings — Ansible Documentation]] [[gtr>https://docs.ansible.com/ansible/latest/reference_appendices/config.html|翻訳]]\\ |
| * <html><code>ANSIBLE_CONFIG</code></html> (環境変数が設定されている場合) |
| * <html><code>ansible.cfg</code></html> (現在のディレクトリ内) |
| * <html><code>~/.ansible.cfg</code></html> (ホームディレクトリ内) |
| * <html><code>/etc/ansible/ansible.cfg</code></html> |
| |
| ===== Ansible playbooks ===== |
| 公式: [[https://docs.ansible.com/ansible/latest/playbook_guide/index.html|Using Ansible playbooks — Ansible Documentation]] [[gtr>https://docs.ansible.com/ansible/latest/playbook_guide/index.html|翻訳]]\\ |
| |
| 公式: [[https://docs.ansible.com/ansible/latest/playbook_guide/playbooks.html|Working with playbooks — Ansible Documentation]] [[gtr>https://docs.ansible.com/ansible/latest/playbook_guide/playbooks.html|翻訳]]\\ |
| サンプル: [[git>ansible/ansible-examples|ansible/ansible-examples: A few starter examples of ansible playbooks, to show features and how they work together. See http://galaxy.ansible.com for example roles from the Ansible community for deploying many popular applications.]]\\ |
| テンプレート: [[https://jinja.palletsprojects.com/en/latest/templates/|Template Designer Documentation — Jinja Documentation]] [[gtr>https://jinja.palletsprojects.com/en/latest/templates/|翻訳]]\\ |
| [[https://jinja.palletsprojects.com/en/latest/|Jinja — Jinja Documentation]] [[gtr>https://jinja.palletsprojects.com/en/latest/|翻訳]]\\ |
| |
| ====== Ansible AWX ====== |
| 公式: [[git>ansible/awx|GitHub - ansible/awx: AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.]] [[gtr>https://github.com/ansible/awx|翻訳]]\\ |
| ドキュメント: [[rtd>https://ansible.readthedocs.io/projects/awx/en/latest/index.html|Ansible AWX Documentation — Ansible AWX community documentation]] [[gtr>https://ansible.readthedocs.io/projects/awx/en/latest/index.html|翻訳]]\\ |
| |
| ====== 参考文献 ====== |
| [[https://www.redhat.com/ja/technologies/management/ansible/compare-awx-vs-ansible-automation-platform|Ansible、AWX、Ansible Automation Platform を理解する]]\\ |
| |