如何使用brew在Mac OS上安装ansible-galaxy?

时间:2018-11-19 04:28:21

标签: ansible homebrew ansible-galaxy

是否可以在Mac OS上使用brew安装ansible星系?我尝试过:

$ brew install ansible-galaxy
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/cask-versions, homebrew/core and homebrew/cask).
==> Updated Formulae
git-lfs ✔                cpprestsdk               exercism                 gobject-introspection    kube-aws                 minio-mc                 remarshal                teleport                 vegeta
ammonite-repl            ddgr                     fluent-bit               grpc                     libimagequant            nailgun                  root                     terraform_landscape      xsimd
angular-cli              dscanner                 fmt                      instead                  librealsense             node-build               serverless               tinyxml2                 you-get
arx                      duo_unix                 fruit                    ios-deploy               libsass                  opencv@2                 sfcgal                   tty-solitaire
conan                    elektra                  git-quick-stats          jdupes                   libvirt                  osrm-backend             snappystream             urdfdom_headers
console_bridge           ethereum                 gitbucket                kallisto                 minio                    parallelstl              sysdig                   vagrant-completion

Error: No available formula with the name "ansible-galaxy"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

但是没有用。

感谢您阅读我的帖子。

1 个答案:

答案 0 :(得分:2)

使用 brew pip 在计算机上安装ansible后,您将自动获得 ansible-galaxy ,它不是软件包,它是像 ansible-vault ansible-doc

enter image description here