Trellis Vagrant up error & unsure about local path?

Hi there, I’ve been trying to setup sage, bedrock and trellis together for the first time and jumping over the various hurdles Windows throws at me, but I’m stuck now :expressionless:

When running Vagrant up , I don’t think the setup completes because of this error running the Ansible Playbooks -
default: ERROR: debconf is not a legal parameter in an Ansible task or handler - I’m guessing that’s not supposed to be the last line I see after running vagrant up and when I go to my defined host domain or IP then I get nothing, just “ERR_CONNECTION_REFUSED”.

I am also not sure if my local_path is correct, because it says “path targeting local Bedrock site directory (relative to Ansible root)” - and my wordpress_sites.yml is configured like - “local_path: …/site” and my folder structure is like:

mywebsite.com/
├── trellis/
└── site/

But I installed Ansible to: “C:\ansible”, so is that wrong?

Sorry for long question, I’m pretty new to using Ansible/Vagrant.

Thanks.

Your folder structure and local_path look correct. But you shouldn’t be installing Ansible locally on your Windows machine (the host).

Trellis’ Windows support installs Ansible on the VM and runs its on there for you.

Ah right, I only just saw that, so I would skip manually running the ansible-galaxy install. Do you think that could be causing an issue?

Update: When I skip running ansible-galaxy and just run vagrant up I now get these errors:

==> default: Running Ansible Galaxy install
==> default:  downloading role 'project_deploy_module', owned by -%20src%3A
%20f500
==> default: Sorry, - src: f500.project_deploy_module was not found on gala
xy.ansible.com.
==> default:  downloading role '3', owned by version%3A%20v1.0
==> default: Sorry, version: v1.0.3 was not found on galaxy.ansible.com.
==> default:  downloading role '-%20name%3A%20ntp', owned by
==> default: Sorry, - name: ntp was not found on galaxy.ansible.com.
==> default:  downloading role 'ntp', owned by src%3A%20resmo
==> default: Sorry, src: resmo.ntp was not found on galaxy.ansible.com.
==> default:  downloading role '0', owned by version%3A%200.3
==> default: Sorry, version: 0.3.0 was not found on galaxy.ansible.com.
==> default:  downloading role '-%20name%3A%20logrotate', owned by
==> default: Sorry, - name: logrotate was not found on galaxy.ansible.com.
==> default:  downloading role 'logrotate', owned by src%3A%20nickhammond
==> default: Sorry, src: nickhammond.logrotate was not found on galaxy.ansi
ble.com.
==> default:  downloading role 'version%3A%20fc3ea4', owned by
==> default: Sorry, version: fc3ea4 was not found on galaxy.ansible.com.
==> default:  downloading role '-%20name%3A%20php5-xdebug', owned by
==> default: Sorry, - name: php5-xdebug was not found on galaxy.ansible.com
.
==> default:  downloading role 'php5-xdebug', owned by src%3A%20MaximeThoon
sen
==> default: Sorry, src: MaximeThoonsen.php5-xdebug was not found on galaxy
.ansible.com.
==> default:  downloading role '5', owned by version%3A%20v1.0
==> default: Sorry, version: v1.0.5 was not found on galaxy.ansible.com.
==> default:  downloading role '-%20name%3A%20swapfile', owned by
==> default: Sorry, - name: swapfile was not found on galaxy.ansible.com.
==> default:  downloading role 'swapfile', owned by src%3A%20kamaln7
==> default: Sorry, src: kamaln7.swapfile was not found on galaxy.ansible.c
om.
==> default:  downloading role '4', owned by version%3A%200
==> default: Sorry, version: 0.4 was not found on galaxy.ansible.com.
==> default:  downloading role '-%20name%3A%20mailhog', owned by
==> default: Sorry, - name: mailhog was not found on galaxy.ansible.com.
==> default:  downloading role 'mailhog', owned by src%3A%20geerlingguy
==> default: Sorry, src: geerlingguy.mailhog was not found on galaxy.ansibl
e.com.
==> default:  downloading role '3', owned by version%3A%201.0
==> default: Sorry, version: 1.0.3 was not found on galaxy.ansible.com.
==> default: Running Ansible Playbooks
==> default: ERROR: cannot find role in /vagrant/roles/ntp or /vagrant/ntp
or /vagrant/vendor/roles/ntp

:weary:

I also get this error a little further up:

==> default: E
==> default: :
==> default: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/
s/software-properties/python3-software-properties_0.92.37.3_all.deb  404  N
ot Found [IP: 91.189.91.14 80]
==> default: E
==> default: :
==> default: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/
s/software-properties/software-properties-common_0.92.37.3_all.deb  404  No
t Found [IP: 91.189.91.14 80]
==> default: E
==> default: :
==> default: Unable to fetch some archives, maybe run apt-get update or try
 with --fix-missing?
==> default: Adding Ansible repository...
==> default: sudo: apt-add-repository: command not found