MacOS Monteray에 ansible 설치하기

homebrew로 하시는 게 가장 간단합니다.

$ homebrew search ansible
$ homebrew install ansible

제 MacBook Air(M1, 2020, custom RAM 16G)에서 설치시간이 14분 쯤 걸렸습니다.

homebrew가 설치되어 있지 않은 경우에는 homebrew부터 설치하십시오.
- https://docs.brew.sh/Installation

설치된 ansible 버전 확인

$ ansible --version
ansible [core 2.12.4]
  config file = None
  configured module search path = ['/Users/katombo/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /opt/homebrew/Cellar/ansible/5.6.0/libexec/lib/python3.10/site-packages/ansible
  ansible collection location = /Users/katombo/.ansible/collections:/usr/share/ansible/collections
  executable location = /opt/homebrew/bin/ansible
  python version = 3.10.2 (main, Feb  2 2022, 05:51:25) [Clang 13.0.0 (clang-1300.0.29.3)]
  jinja version = 3.1.1
  libyaml = True