evolution / wordpress

Rapidly create, develop, & deploy WordPress across multiple environments.
MIT License
200 stars 18 forks source link

Provisioning fails with Ansible 2.1.2.0 #150

Closed EvanK closed 8 years ago

EvanK commented 8 years ago

Something in 2.1.2.0 has broken the way we connect for provisioning:

PLAY [production] **************************************************************

TASK [setup] *******************************************************************
fatal: [production.example.com]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh.", "unreachable": true}
    to retry, use: --limit @/Users/someuser/Example.com/lib/ansible/provision.retry

PLAY RECAP *********************************************************************
production.example.com : ok=0    changed=0    unreachable=1    failed=0

I've narrowed it down to the way we specify a private key location in the root level ansible.cfg of our project, versus specifying it via a command line flag to ansible-playbook