代码之家  ›  专栏  ›  技术社区  ›  user674669

如何使用BREW在Mac OS上安装Ansible Galaxy?

  •  0
  • user674669  · 技术社区  · 5 年前

    是否可以在Mac OS上使用BREW安装Ansible Galaxy?我试过:

    $ 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 回复  |  直到 5 年前
        1
  •  2
  •   AnmolNagpal    5 年前

    一旦使用 BREW在您的计算机上安装ansible,您将得到 ansible galaxy->strong>automatically it's not a package it's a subcommand of the ansible like ansible vault- ansible doc->strong>etc.。

    它不是一个包,它是类似于ansible的子命令 拱形拱顶 可变形的DOC 等。

    enter image description here