I tried to simply remove -k but it's result like this:
root@ricky:/home/ricky/openwisp2-ansible-playbook# ansible-playbook -i
hosts playbook.yml -b --become-method=su -u ricky
PLAY [openwisp2] ****
TASK [Gathering Facts] **
fatal: [192.168.56.2]: UNREACHABLE! => {"changed": false, "msg": "Failed to
connect to the host via ssh: Permission denied (publickey,password).\r\n",
"unreachable": true}
to retry, use: --limit @/home
/ricky/openwisp2-ansible-playbook/playbook.retry
PLAY RECAP **
192.168.56.2 : ok=0 changed=0 unreachable=1 failed=0
I'm Using Debian 9.7 on VirtualBox, and follow the instruction, then I run
the command through PuTTy. Is it okay? or I make mistake for remote the VM
via PuTTy
Pada Minggu, 03 Februari 2019 19.59.35 UTC+7, Ajay Tripathi menulis:
>
> Hello M Ricky Anggoro,
>
> On Sunday, February 3, 2019 at 3:51:49 PM UTC+5:30, M Ricky Anggoro P
> wrote:
>>
>> I Dont know about it, since my user password and root password is same,
>> so I input SSH password same as root password. I run this command:
>> ansible-playbook -i hosts playbook.yml -b -k -K --become-method=su -u
>> ricky
>>
>
> Since, you don't have an SSH password, can you please remove the option
> `-k` and try again?
>
> Best,
> Ajay Tripathi
>
--
You received this message because you are subscribed to the Google Groups
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.