Ansible 2 を Mac にインストールする方法

Sun, April 24, 2016 - 1 min read

Ansible 2 系を brew コマンドを使ってサクッと Mac にインストールしました。

$ brew info ansible
ansible: stable (bottled), devel, HEAD
Automate deployment, configuration, and upgrading
Not installed
==> Dependencies
Build: pkg-config ✘
Required: libyaml ✘, openssl ✘
==> Caveats
Homebrew writes wrapper scripts that set PYTHONPATH in ansible's
execution environment, which is inherited by Python scripts invoked
by ansible. If this causes problems, you can modify your playbooks
to invoke python with -E, which causes python to ignore PYTHONPATH.
$ brew install ansible
$ ansible --version

  config file = 
  configured module search path = Default w/o overrides