Re: [ansible-project] docker installation problems

2021-04-26 Thread rebecca acheampong
Thank you very much...taking a look at it On Mon, Apr 26, 2021 at 2:39 PM Mauricio Tavares wrote: > On Mon, Apr 26, 2021 at 7:07 AM rebecca acheampong > wrote: > > > > > > I wish i could separate them as you have told me but i am very new to > ansible and I am using it for my final project. I

Re: [ansible-project] docker installation problems

2021-04-26 Thread rebecca acheampong
Thank you so much. I am looking at it On Mon, Apr 26, 2021 at 2:45 PM Nuno Jordão wrote: > A playbook is a list of plays. Example: > > --- > - name: play1 > hosts: host1 > tasks: > - name: >etc... > > - name: play2 > hosts: host2 > tasks: > - name: > > On Mon, Apr 26,

Re: [ansible-project] docker installation problems

2021-04-26 Thread Nuno Jordão
A playbook is a list of plays. Example: --- - name: play1 hosts: host1 tasks: - name: etc... - name: play2 hosts: host2 tasks: - name: On Mon, Apr 26, 2021 at 12:08 PM rebecca acheampong wrote: > > I wish i could separate them as you have told me but i am very new to >

Re: [ansible-project] docker installation problems

2021-04-26 Thread Mauricio Tavares
On Mon, Apr 26, 2021 at 7:07 AM rebecca acheampong wrote: > > > I wish i could separate them as you have told me but i am very new to ansible > and I am using it for my final project. I dont know how to do that. I changed > the host to the target node's name. I think you are right because the

Re: [ansible-project] docker installation problems

2021-04-26 Thread rebecca acheampong
I wish i could separate them as you have told me but i am very new to ansible and I am using it for my final project. I dont know how to do that. I changed the host to the target node's name. I think you are right because the localhost does the installation of the docker on the control node.

Re: [ansible-project] docker installation problems

2021-04-26 Thread rebecca acheampong
I added become_user: true become_user_pass: true I got the same error without the pass, but when i add the pass, i get this: ERROR! 'become_user_pass' is not a valid attribute for a Play On Monday, April 26, 2021 at 1:45:48 PM UTC+3 ng.duct...@gmail.com wrote: > Sorry, it should

Re: [ansible-project] docker installation problems

2021-04-26 Thread Dick Visser
You're using localhost as the target, which is OK for the vmware module (as that is an API based one), but then you also target localhost for the docker stuff. Split your deployment into separate playbook and make sure you're targeting the correct host. This may involve add_host etc. On Mon, 26

Re: [ansible-project] docker installation problems

2021-04-26 Thread Thanh Nguyen Duc
Sorry, it should be become: true By default it will elevate the account to root. You may need to pass become_user_pass as well. Sent from my iPhone > On 26 Apr 2021, at 18:30, rebecca acheampong wrote: > > I just added become_user: root but the same problem > >> On Monday, April 26, 2021 at

Re: [ansible-project] docker installation problems

2021-04-26 Thread rebecca acheampong
I just added become_user: root but the same problem On Monday, April 26, 2021 at 1:27:33 PM UTC+3 ng.duct...@gmail.com wrote: > Look like you need to add become_user option there > > Sent from my iPhone > > On 26 Apr 2021, at 18:21, rebecca acheampong wrote: > > I am using ansible to install a

Re: [ansible-project] docker installation problems

2021-04-26 Thread Thanh Nguyen Duc
Look like you need to add become_user option there Sent from my iPhone > On 26 Apr 2021, at 18:21, rebecca acheampong wrote: > > I am using ansible to install a docker but I get this error. How can i solve > this please? > Please help me, this installation has taken me a whole week > >

[ansible-project] docker installation problems

2021-04-26 Thread rebecca acheampong
I am using ansible to install a docker but I get this error. How can i solve this please? Please help me, this installation has taken me a whole week Control node is ubuntu server 20.04 Target node is ubuntu desktop 18.04 on vmware esxi this is my playbook: --- - name: installing docker on