How to create an additional environment?


UPDATE: Nevermind I made a small mistake, it works!

Given the amazing results we had with our first Trellis based project, I’m converting our team to use Trellis.

We would like to have a fourth environment to test deployments and play around with it:

I added a folder “test” in group_vars, with a copy of the staging files, which i then modified to set up the environment.

I also added a hosts file “test” with the relevant domains names.

But when i run : `ansible-playbook server.yml -e env=test``

I get :

PLAY [Ensure necessary variables are defined] **********************************

TASK [Ensure environment is defined] *******************************************
skipping: [localhost]

PLAY RECAP *********************************************************************
localhost                  : ok=0    changed=0    unreachable=0    failed=0

What am I doing wrong? Did I miss another configuration step?

Thank you,