Deploy failed at TASK [deploy : Move project subtree into root folder]

I have an oldish clone of Trellis that was previously working fine. Now deploys fail at

TASK [deploy : Move project subtree into root folder]

The output looks like:

TASK [deploy : Move project subtree into root folder] **************************
fatal: []: FAILED! => {"changed": true, "cmd": "mv /srv/www/* /srv/www/", "delta": "0:00:00.004631", "end": "2016-02-02 09:22:20.182529", "failed": true, "rc": 1, "start": "2016-02-02 09:22:20.177898", "stderr": "mv: cannot stat ‘/srv/www/*’: No such file or directory", "stdout": "", "stdout_lines": [], "warnings": []}

I can see that ‘False/*’ is being appended to the path.

Not sure what’s changed and why this has happened.

Is it a case of trying a fresh clone of trellis?

Just reading up on Ansible Vault now.

Did you update your Ansible version?

I’ve actually done some updates to that subtree stuff to make it work better. You can see the diff here:

(sorry there’s other changes in there as well but look for project_subtree_path.

Yes, updated to:

On 14th January but this is the first time I’ve tried it.

Reverted back to the Ansible version (1.5.4+dfsg-1) in the Ubuntu Universe repo for 14.04 and deploys are working again.

The official Ansible Ubuntu PPA is at version which contains this bug.

I’ll be sure to check github before posting here next time :slightly_smiling:, thanks!