普段はMacでAnsibleを使っていますが、サブPCのOSがUbuntuなので、こちらにもAnsibleを入れました。そのときのメモです。
こちらのドキュメントを参考にインストールしていきます。
Installation Guide — Ansible Documentation
検証環境
ubuntu 18.04 LTS
インストール
$ sudo apt-get update $ sudo apt-get install software-properties-common $ sudo apt-add-repository --yes --update ppa:ansible/ansible $ sudo apt-get install ansible
バージョン確認
$ ansible --version