How can I get Trellis to work?

Hey Scott, thanks for the response. I just want to say that I’ve been a member of this community since 2014 and although I don’t contribute much to the projects here, I am here because I love what these tools offer and appreciate everyone involved. I never intend to act entitled but… the great old internet. I know I don’t always explain myself that well and I’m happy I could help this time. I always Google. Hours of Google. I don’t always come up with a solution. I really only ask questions when I have zero options left and perhaps in this case I easily missed something. I’ll have a look tomorrow. I don’t just run into problems and immediately post them here but I’ve had a couple weeks of major problems and it’s been tough. I’m running my projects fine on my MacBook and I’ve cross checked software versions over and over. Seriously, all the love to all here.

Question time:

  1. No, different project.
  2. I ran trellis provision staging

Thoughts to answers time:

  1. Awesome, thanks!
  2. Thanks for clearing that up. I’m a doofus.
  3. The example.com project I started today came from a clean ssd, reinstall of Big Sur and the macOS Trellis docs.

I’ve ran trellis init recently on established projects but it would return an error. I don’t recall the error.
I just ran it again on an est. project and the command was succesful:

➜ trellis git:(staging) ✗ trellis init
Creating virtualenv in /Users/joshb/Development/trellis/trellis.project.build/trellis/.trellis/virtualenv
✓ Virtualenv created
Running command => pip install -r requirements.txt
⠴ Installing pip dependencies (pip install -r requirements.txt) ... ✓ Dependencies installed

Now I just ran trellis provision staging and I see this:

The conditional check 'not ansible_ssh_extra_args' failed. The error was:
error while evaluating conditional (not ansible_ssh_extra_args):
'ansible_ssh_extra_args' is undefined

The error appears to be in '/Users/joshb/Development/trellis/clearcom/tre
llis.project.build/trellis/roles/connection/tasks/main.yml': line 9,
column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: Specify preferred HostKeyAlgorithms for unknown hosts
^ here
fatal: [staging.project.com]: FAILED! => {}

And then a Google search returns this immediately. I’ll look into this.