NuCivic / ansible-dev-vm

8 stars 5 forks source link

fatal: [nucvicdev] => SSH Error: Permission denied (publickey,password). #16

Closed janette closed 9 years ago

janette commented 9 years ago
 vagrant provision

==> nucvicdev: Running provisioner: ansible...
ERROR: cannot find role in /Users/janette/ansible-dev-vm/roles/ANXS.nodejs or /Users/janette/ansible-dev-vm/ANXS.nodejs or /usr/local/etc/ansible/roles/ANXS.nodejs
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
janette commented 9 years ago

I had ansible-1.8.2 installed brew unlink ansible then brew install ansible installs ansible-1.9.1 then run ansible-galaxy install -r requirements.txt

vagrant -vvvv provision

==> nucvicdev: Running provisioner: ansible...

PLAY [all] ******************************************************************** 

GATHERING FACTS *************************************************************** 
fatal: [nucvicdev] => SSH Error: Permission denied (publickey,password).
    while connecting to 192.168.2.133:22
It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue.

TASK: [geerlingguy.git | Ensure git is installed (RedHat).] ******************* 
FATAL: no hosts matched or all hosts have already failed -- aborting

PLAY RECAP ******************************************************************** 
           to retry, use: --limit @/Users/janette/playbook.retry

nucvicdev                  : ok=0    changed=0    unreachable=1    failed=0   

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again
acouch commented 9 years ago

Looks like this is working.