$ vagrant up
Bringing machine 'ti-api-testing' up with 'virtualbox' provider...
==> ti-api-testing: Cloning VM...
==> ti-api-testing: Matching MAC address for NAT networking...
==> ti-api-testing: Checking if box 'geerlingguy/debian9' is up to date...
==> ti-api-testing: Setting the name of the VM: ti.test
==> ti-api-testing: Clearing any previously set network interfaces...
==> ti-api-testing: Preparing network interfaces based on configuration...
ti-api-testing: Adapter 1: nat
ti-api-testing: Adapter 2: hostonly
==> ti-api-testing: Forwarding ports...
ti-api-testing: 22 (guest) => 2222 (host) (adapter 1)
==> ti-api-testing: Running 'pre-boot' VM customizations...
==> ti-api-testing: Booting VM...
==> ti-api-testing: Waiting for machine to boot. This may take a few minutes...
ti-api-testing: SSH username: vagrant
ti-api-testing: SSH auth method: private key
==> ti-api-testing: Machine booted and ready!
[ti-api-testing] GuestAdditions 5.2.22 running --- OK.
==> ti-api-testing: Checking for guest additions in VM...
==> ti-api-testing: Setting hostname...
==> ti-api-testing: Configuring and enabling network interfaces...
==> ti-api-testing: Mounting shared folders...
ti-api-testing: /code => E:/code/ti-api-testing
ti-api-testing: /vagrant => E:/code/ti-api-testing/localDev
==> ti-api-testing: Running provisioner: ansible_local...
ti-api-testing: Running ansible-playbook...
PLAY [all] *********************************************************************
TASK [Gathering Facts] *********************************************************
ok: [ti-api-testing]
TASK [Enable HTTPS for apt] ****************************************************
changed: [ti-api-testing]
TASK [Attach Docker GPG key to apt] ********************************************
changed: [ti-api-testing]
TASK [Get distribution info] ***************************************************
changed: [ti-api-testing]
TASK [Add docker repository to apt] ********************************************
changed: [ti-api-testing]
TASK [Install Docker] **********************************************************
changed: [ti-api-testing]
PLAY [all] *********************************************************************
TASK [Gathering Facts] *********************************************************
ok: [ti-api-testing]
PLAY RECAP *********************************************************************
ti-api-testing : ok=7 changed=5 unreachable=0 failed=0
==> ti-api-testing: Running provisioner: reload...
==> ti-api-testing: Attempting graceful shutdown of VM...
==> ti-api-testing: Checking if box 'geerlingguy/debian9' is up to date...
==> ti-api-testing: Clearing any previously set forwarded ports...
==> ti-api-testing: Clearing any previously set network interfaces...
==> ti-api-testing: Preparing network interfaces based on configuration...
ti-api-testing: Adapter 1: nat
ti-api-testing: Adapter 2: hostonly
==> ti-api-testing: Forwarding ports...
ti-api-testing: 22 (guest) => 2222 (host) (adapter 1)
==> ti-api-testing: Running 'pre-boot' VM customizations...
==> ti-api-testing: Booting VM...
==> ti-api-testing: Waiting for machine to boot. This may take a few minutes...
ti-api-testing: SSH username: vagrant
ti-api-testing: SSH auth method: private key
==> ti-api-testing: Machine booted and ready!
[ti-api-testing] GuestAdditions 5.2.22 running --- OK.
==> ti-api-testing: Checking for guest additions in VM...
==> ti-api-testing: Setting hostname...
==> ti-api-testing: Configuring and enabling network interfaces...
==> ti-api-testing: Mounting shared folders...
ti-api-testing: /code => E:/code/ti-api-testing
ti-api-testing: /vagrant => E:/code/ti-api-testing/localDev
==> ti-api-testing: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> ti-api-testing: flag to force provisioning. Provisioners marked to run always will still run.
==> ti-api-testing: Running provisioner: ansible_local...
ti-api-testing: Running ansible-playbook...
PLAY [all] *********************************************************************
TASK [Gathering Facts] *********************************************************
ok: [ti-api-testing]
PLAY [all] *********************************************************************
TASK [Gathering Facts] *********************************************************
ok: [ti-api-testing]
TASK [Install Lando] ***********************************************************
changed: [ti-api-testing]
TASK [get the username running the deploy] *************************************
changed: [ti-api-testing -> localhost]
TASK [debug] *******************************************************************
ok: [ti-api-testing] => {
"username_on_the_host": {
"changed": true,
"cmd": [
"whoami"
],
"delta": "0:00:00.002716",
"end": "2018-12-03 18:45:21.817641",
"failed": false,
"rc": 0,
"start": "2018-12-03 18:45:21.814925",
"stderr": "",
"stderr_lines": [],
"stdout": "vagrant",
"stdout_lines": [
"vagrant"
]
}
}
TASK [get the groups running the deploy] ***************************************
changed: [ti-api-testing -> localhost]
TASK [debug] *******************************************************************
ok: [ti-api-testing] => {
"groups_on_the_host": {
"changed": true,
"cmd": [
"groups"
],
"delta": "0:00:00.002078",
"end": "2018-12-03 18:45:21.972648",
"failed": false,
"rc": 0,
"start": "2018-12-03 18:45:21.970570",
"stderr": "",
"stderr_lines": [],
"stdout": "vagrant cdrom floppy sudo audio dip video plugdev netdev bluetooth",
"stdout_lines": [
"vagrant cdrom floppy sudo audio dip video plugdev netdev bluetooth"
]
}
}
TASK [Start Lando] *************************************************************
fatal: [ti-api-testing]: FAILED! => {"changed": true, "cmd": ["lando", "start"], "delta": "0:05:27.664205", "end": "2018-12-03 18:50:49.785852", "msg": "non-zero return code", "rc": 1, "start": "2018-12-03 18:45:22.121647", "stderr": "Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.39/info: dial unix /var/run/docker.sock: connect: permission denied\nGot per[...]
to retry, use: --limit @/vagrant/playbook.retry
PLAY RECAP *********************************************************************
ti-api-testing : ok=7 changed=3 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.