Thanks, I was able to remove the become: yes  to become_user:devops and
that sorted the issue.

On Mon, Oct 17, 2022 at 10:07 AM Dick Visser <[email protected]> wrote:

> Hii
>
> Some comments inline below
>
> On Sun, 16 Oct 2022 at 21:57, Oremo Ojwang <[email protected]> wrote:
>
> >   - name: install prerequisites
> >     apt:
> >       name: libfuse2
> >       state: present
>
> I'm surprised that this doesn't need "become: true"?
>
> >   - name: move to vagrant-deploy and launch vms for this host
> >     shell:
> >       cmd: vagrant up
> >       chdir: /home/devops/vagrant-deploy/
> >     become: yes
>
> And I'm surprised that running vagrant needs 'become: yes'.
> AFAIK vagrant does not need this.
>
>      "start": "2022-10-15 12:08:49.181709",
> >     "stderr": "There was an error while executing `VBoxManage`, a CLI
> used by Vagrant\nfor controlling VirtualBox. The command and stderr is
> shown below.\n\nCommand: [\"showvminfo\",
> \"9420c5e1-629e-4148-8ce1-92658357a477\"]\n\nStderr:
> /usr/lib/virtualbox/VBoxManage:
> /tmp/.mount_vagranMxQRIa/usr/lib/libcurl.so.4: no version information
> available (required by /usr/lib/virtualbox/VBoxRT.so)\nVBoxManage: error:
> Failed to create the VirtualBox object!\nVBoxManage: error: Code
> NS_ERROR_ABORT (0x80004004) - Operation aborted (extended info not
> available)\nVBoxManage: error: Most likely, the VirtualBox COM server is
> not running or failed to start.",
>
> This sounds like your Ubuntu host is missing libcurl.
> Try adding that (libcurl4 to be precise) to the list of packages that
> you install in the "install prerequisites" task.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/2RbR8tfOFYQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAF8BbLZafkR2Nhm-L87eL8QwwwJaWb7F_O7GBmrwqTPAsh9y5w%40mail.gmail.com
> .
>


-- 
George Oremo

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL4P1b1REJQFjk1mqeU%2BtCaqMK%2Bu_n%2BCEuKcwjWBM%3DzG%2BdjaQA%40mail.gmail.com.

Reply via email to