Ansible authentication failure, despite successfull keybased ssh-login, mac

I have been using ansible 1.7 for more than six months under os-x (10.10.3), and today I see this problem when executing a playbook.

The password I supply works when I ssh to the system and su to that user, and the failing command executes successfully in that account.

There is no ansible_ssh_user defined in the inventory.

I see no available update for Mac at the download page, and I have not installed any other updates recently, apart from an OS-X update maybe a week ago??

Can anyone shed any light on how to troubleshoot this further, please?

Thanks in advance,

hdcdtpx0c1:install nolding$ ansible-playbook -vvvv deploy-integrations.yml --tags ap_int -i testing
SSH password:

PLAY [Deploy AP integration] **************************************************

GATHERING FACTS ***************************************************************
<palandbtst2.dstst.doj.ca.gov> ESTABLISH CONNECTION FOR USER: palantir
<palandbtst2.dstst.doj.ca.gov> REMOTE_MODULE setup
<palandbtst2.dstst.doj.ca.gov> EXEC [‘sshpass’, ‘-d4’, ‘ssh’, ‘-C’, ‘-tt’, ‘-vvv’, ‘-o’, ‘ControlMaster=auto’, ‘-o’, ‘ControlPersist=60s’, ‘-o’, ‘ControlPath=/Users/nolding/.ansible/cp/ansible-ssh-%h-%p-%r’, ‘-o’, ‘GSSAPIAuthentication=no’, ‘-o’, ‘PubkeyAuthentication=no’, ‘-o’, ‘User=palantir’, ‘-o’, ‘ConnectTimeout=10’, ‘palandbtst2.dstst.doj.ca.gov’, “/bin/sh -c ‘mkdir -p $HOME/.ansible/tmp/ansible-tmp-1434389000.36-272405008755712 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1434389000.36-272405008755712 && echo $HOME/.ansible/tmp/ansible-tmp-1434389000.36-272405008755712’”]
fatal: [palandbtst2.dstst.doj.ca.gov] => Authentication or permission failure. In some cases, you may have been able to authenticate and did not have permissions on the remote directory. Consider changing the remote temp path in ansible.cfg to a path rooted in “/tmp”. Failed command was: mkdir -p $HOME/.ansible/tmp/ansible-tmp-1434389000.36-272405008755712 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1434389000.36-272405008755712 && echo $HOME/.ansible/tmp/ansible-tmp-1434389000.36-272405008755712, exited with result 1

TASK: [integration | Create release directory] ********************************
FATAL: no hosts matched or all hosts have already failed – aborting

PLAY RECAP ********************************************************************
to retry, use: --limit @/Users/nolding/deploy-integrations.retry

palandbtst2.dstst.doj.ca.gov : ok=0 changed=0 unreachable=1 failed=0

hdcdtpx0c1:install nolding$

Many thanks to ansible.com support for the help, this problem was fixed by updating software:

I was running ansible 1.7.2 that ‘brew ansible update’ claimed was the latest version.

  1. brew update (updates a number of definitions, new and deleted formulae)
  2. brew upgrade ansible (upgrades to 1.9.1)
  3. retry ansible-playbook - everything works as expected.