Here in this debug output it says
Note: Ansible will attempt connections as user = admin ok: [192.168.50.5]
But there is no admin user. Do you know if there is supposed to be an admin
or a web
user on the dev machine? I see that vagrant
, in www-data
group, owns the web files:
-rwxr--r-- 1 vagrant www-data 120 Sep 1 17:49 /srv/www/ellipticastudios.com/current/web/index.php
Additionally, I’m not sure if the IP address I have set in vagrant.default.yml
is the one that should be referenced in the logs, but as you can see, it’s 192.168.50.5
. Previously, I’ve been using the default IP. This time, I tried updating it to 192.168.50.9
.
## /etc/hosts
## vagrant-hostmanager-start id: 326d3641-8c87-4f6f-a6cd-6eca0685c1c3
192.168.50.9 example.test
192.168.50.9 www.example.test
## vagrant-hostmanager-end
If I understand correctly, the following settings in hosts/development
makes it so that within the Vagrant box, 192.168.50.5
is used, while locally, in the host, it’s 192.168.50.9
:
[development]
192.168.50.5 ansible_connection=local
[web]
192.168.50.5 ansible_connection=local
In the browser, example.test
is served, but I want to be able to re-provision using Ansible/Trellis, not to mention, I believe xDebug is supposed to be active “out of the box.”