Ga naar inhoud

Ansible

Installeer ansible most recent

Terminal window
brew install ansible

Installeer ansible 2.8

Terminal window
brew install ansible@2.8

Installer ansible 2.9

Terminal window
brew install ansible@2.9

Gebruik specifieke versie

Terminal window
brew link --overwrite ansible@2.9
Terminal window
brew link --overwrite ansible@2.8

Bekijk welke versies geïnstalleerd zijn

Terminal window
brew info ansible

Installeer ansible@2.8 voor Homebrew

Terminal window
brew install ansible
brew unlink ansible
brew install ansible@2.8
brew link ansible@2.8 --force

Failed to find handler

When this error occurs:

TASK [unpack alertmanager binaries] **************************************************************************************************************************
System info:
Ansible 2.9.27; Darwin
---------------------------------------------------
Failed to find handler for "/Users/rutger/.ansible/tmp/ansible-
tmp-1651566280.0747929-58000-79493663130343/source". Make sure the required
command to extract the file is installed. Command "/usr/bin/tar" detected as
tar type bsd. GNU tar required. Command "/usr/bin/unzip" could not handle
archive.
fatal: [cze-monitor -> localhost]: FAILED! => {"changed": false}

You need to install gnu-tar with homebrew.

Terminal window
brew install gnu-tar

Source