Running server.yml does not provision server

I have configured my staging environment as per the trellis docs for remote servers but get the following output:

ansible-playbook server.yml -e env=staging

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

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

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

It seems that no attempt is being made to provision the remote server. Anyone seen this behaviour before?

I think I’ve seen that happen when no host matches. Could you double-check that in hosts/staging your server name or IP appears identical under both the [web] group header and the [staging] group header? If yes, have you modified the hosts: web:&{{ env }} parameter as it appears several times in server.yml?

@fullyint thanks - they did not match and that resolved it.