I an new to ansible. I may be saying something which is completely wrong.
I created VM using KVM, both remote and local are running on Ubuntu 16.0.4
Now I configured ansible by creating a key as
this created key and copied it to remote machine by
now I tested ssh is working, it is working fine.
I added remote machine's address in /etc/ansible/hosts under [DDAS] group.
now I can ping to remote machine using ansible. Then I wrote Playbook to copy file. I is working fine to copy files to /home/Das1/ only. I mean, I can copy files to location which do not need root permission.
My current requirement is that I want to copy some files from local to host to location something like /etc/new
ALSO
I want to run a service which I have written but can not start as ansible says something like ":interactinve password required".
I am configuring ansible/ssh in wrong way.
any help is highly appreciated.
Thanks
Anand