Skip to content

Instantly share code, notes, and snippets.

Mũrĩthi Borona bmurithi

Block or report user

Report or block bmurithi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
bmurithi /
Last active Aug 25, 2017
Ansible SSH too many authentication failures

This exception appears to affect ansible when a playbook is executed from a host with several identities configured in the SSH agent (Tested on a development machine with 12 private keys).

I've noted this exception to be particulary common with AWS targets

Inventory configuration

Most tasks will run fine when we configure our inventory to use a specific private key.

We also need to set the IdentitiesOnly flag so that ssh does not attempt other authentication strategies.

View colored_text.erl
-export([red/0, red/1, text/2]).
red() ->
io:format("\e[41m\e[1m ======================= SOMETHING SOMETHING ======================\033[0mi~n", []).
red(Whatever) ->
io:format("\e[41m\e[1m~p\033[0m", [Whatever]).
You can’t perform that action at this time.