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 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/CAF8BbLZafkR2Nhm-L87eL8QwwwJaWb7F_O7GBmrwqTPAsh9y5w%40mail.gmail.com.

Reply via email to