Roots Discourse

SRC option requires state to be 'link' or 'hard'

I’m trying to provision my local site but keep getting this error.

Perhaps related, I’m able to run vagrant up but no site is available at http://mysite.test

TASK [wordpress-setup : Enable or disable Nginx sites] *************************
ok: [default] => (item={'src': 'no-default.conf.j2'})
src option requires state to be 'link' or 'hard'
failed: [default] (item={'src': '', 'enabled': False}) => {"ansible_loop_var": "item", "changed": false, "item": {"enabled": false, "src": ""}, "path": "/etc/nginx/sites-enabled/"}

PLAY RECAP *********************************************************************
default                    : ok=101  changed=8    unreachable=0    failed=1    skipped=38   rescued=0    ignored=0

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

Thanks for any advice on how to fix this!

What version of Ansible are you running locally? Type the following to find out:

ansible --version

A safe version to use for recent Trellis versions is 2.9.8. You can install this version specifically by typing

sudo pip install ansible==2.9.8

Thanks very much. Downgrading Ansible did the trick.

This topic was automatically closed after 42 days. New replies are no longer allowed.