Re: [ansible-project] Is it possible to use ansible without root password ?

2021-05-10 Thread Dick Visser
On Sun, 9 May 2021 at 19:35, Lomic Legone wrote: > > Below are some details and commands I wrote. > > Before this, I > > had to create a "mala" user on ubuntu2 (the node) with sudo privilege (during > the ubuntu installation) > created a public/private kay pair on ubuntu1 (the node manager) and I

Re: [ansible-project] Is it possible to use ansible without root password ?

2021-05-09 Thread Lomic Legone
Below are some details and commands I wrote. Before this, I - had to create a "mala" user on ubuntu2 (the node) with sudo privilege (during the ubuntu installation) - created a public/private kay pair on ubuntu1 (the node manager) and I copied the public key on ubunt2 with ssh-copy

RE: [ansible-project] Is it possible to use ansible without root password ?

2021-05-07 Thread Stuart Lowe
When you install ubuntu it will create a user in the sudoers group for you. If you are using that user to ssh in then elevating to root with sudo you enter the password for that user. Same with ansible, if you are using the user you created you’d use that users password to authenticate with beco

Re: [ansible-project] Is it possible to use ansible without root password ?

2021-05-07 Thread Dick Visser
Hii On Fri, 7 May 2021 at 11:40, Lomic Legone wrote: > > Hi all, I'm a newbee on ansible and I follow online tutos. > > I installed 2 ubuntu VM (named ubunt1 and ubunt2), one as node manager > (ubuntu1) and the second one as simple node (ubuntu2). The ssh connection is > tested and ok. > > When