linux:ansible

文書の過去の版を表示しています。


Ansible

Ansible Logo
GitHub - gilbarbara/logos: A huge collection of SVG logos

公式: Ansible is Simple IT Automation 翻訳
ソースコード: GitHub - ansible/ansible: Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com. 翻訳
ドキュメント: Ansible Documentation 翻訳

Ansible(アンシブル)は、プロビジョニング、構成管理、アプリケーションのデプロイメント、オーケストレーション、その他多くのITプロセスを自動化する、オープンソースのIT自動化ツールである。他の単純な管理ツールと違い、Ansibleのユーザー (システム管理者、開発者、アーキテクトなど) は、ソフトウェアのインストール、日常的に行うタスクの自動化、インフラストラクチャのプロビジョニング、セキュリティとコンプライアンスの向上、システムへのパッチ適用、組織全体での自動化の共有に、Ansibleの自動化を使用できる。
Ansible (ソフトウェア) - Wikiwand より

pipx - 分離環境での Python アプリケーションのインストールと実行 が必要である🤔
フルインストール、または、ミニマルインストールの何れかでインストールする。
※以降の手順ではフルインストールを前提にしている。

Ansible のフルインストール

$ pipx install --include-deps ansible

  installed package ansible 9.2.0, installed using Python 3.12.1
  These apps are now globally available
    - ansible
    - ansible-community
    - ansible-config
    - ansible-connection
    - ansible-console
    - ansible-doc
    - ansible-galaxy
    - ansible-inventory
    - ansible-playbook
    - ansible-pull
    - ansible-test
    - ansible-vault
done! ✨ 🌟 ✨

Ansible のミニマルインストール

$ pipx install ansible-core

  installed package ansible-core 2.16.3, installed using Python 3.12.1
  These apps are now globally available
    - ansible
    - ansible-config
    - ansible-connection
    - ansible-console
    - ansible-doc
    - ansible-galaxy
    - ansible-inventory
    - ansible-playbook
    - ansible-pull
    - ansible-test
    - ansible-vault
done! ✨ 🌟 ✨

動作確認

$ ansible-community --version

Ansible community version 9.2.0

Ansible の特定バージョンをインストールする場合

$ pipx install ansible-core==2.16.3

アンインストールする場合

$ pipx uninstall --include-deps ansible
$ pipx uninstall ansible-core

$ pipx upgrade --include-injected ansible

  • linux/ansible.1707190908.txt.gz
  • 最終更新: 2024/02/06 12:41
  • by ともやん